/**
 * Landing Page Stylesheet
 * Variables now in core.css
 * @version 3.1.0
 */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

.dolphin-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.floating-dolphin {
    position: absolute;
    height: 120px;
    width: auto;
    animation: float 6s ease-in-out infinite;
    bottom: -50px;
    opacity: 0.8;
}

.floating-dolphin.left {
    left: -50px;
}

.floating-dolphin.right {
    right: -50px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-40px) translateX(20px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

p {
    margin-bottom: var(--space-sm);
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    margin: 0 auto;
}

/* Responsive container widths */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
    .floating-dolphin {
        height: 180px;
        bottom: -80px;
    }
    .floating-dolphin.left {
        left: -30px;
    }
    .floating-dolphin.right {
        right: -30px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    .floating-dolphin {
        height: 220px;
        bottom: -100px;
    }
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

/* Utility Classes */
.text-decorative {
    font-family: var(--font-decorative);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(185deg, #ffffff 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-pill);
}

.section-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    padding: 5rem 0 3rem;
    color: white;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-container {
    position: relative;
    margin-top: var(--space-xl);
}

.hero-image {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 4s ease-in-out infinite;
    max-width: 100%;
    margin: 0 auto;
}

.hero-button {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: var(--transition-normal);
    border: 2px solid var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: var(--space-md);
}

.hero-button:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    background-color: var(--color-white);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    transform: scale(1.1);
}

.feature-card h5 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.gallery-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    height: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-container {
    overflow: hidden;
    height: 200px;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-card-img {
    transform: scale(1.05);
}

.gallery-card-body {
    padding: var(--space-lg);
}

.gallery-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.gallery-card-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section .stat-box {
    transition: transform var(--transition-normal);
}

.stats-section .stat-box:hover {
    transform: translateY(-5px);
}

.stats-section .stat-box i {
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section .btn-light {
    font-weight: 600;
    transition: all var(--transition-normal);
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline-light {
    font-weight: 600;
    border-width: 2px;
    transition: all var(--transition-normal);
}

.cta-section .btn-outline-light:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-xl) 0;
    text-align: center;
}

/* Responsive Adjustments */
@media (min-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-header h2 {
        font-size: 2.25rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-section {
        padding: 7rem 0 5rem;
    }
    section {
        padding: var(--space-xxl) 0;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
    }
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-button {
        margin-top: 0;
    }
    .hero-image-container {
        margin-top: 0;
    }
    .hero-flex {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }
    .hero-flex > div {
        flex: 1;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .floating-dolphin {
        height: 80px;
        bottom: -30px;
    }
}