/* Root Variables for Ocean-Inspired Color Palette */
:root {
    --ocean-blue: #0077b6;
    --deep-ocean: #023e8a;
    --teal: #48cae4;
    --light-teal: #90e0ef;
    --ocean-foam: #caf0f8;
    --sand: #f7f3e9;
    --coffee-brown: #6f4e37;
    --dark-coffee: #3c2415;
    --cream: #f8f5f0;
    --wave-gradient: linear-gradient(135deg, var(--ocean-blue), var(--teal));
    --hero-gradient: linear-gradient(135deg, rgba(2, 62, 138, 0.8), rgba(72, 202, 228, 0.6));
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-blue) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--ocean-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--wave-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('https://www.summertime-whitsundays.com/wp-content/uploads/2018/04/hero_stime-1.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    overflow: hidden;
}



@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.wave-btn {
    background: var(--wave-gradient);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.wave-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 119, 182, 0.4);
    background: linear-gradient(135deg, var(--deep-ocean), var(--ocean-blue));
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--deep-ocean);
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--wave-gradient);
    border-radius: 2px;
}

/* About Section */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image-wrapper img {
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.about-image-wrapper:hover .image-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Foundation Section */
.foundation-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.foundation-image-wrapper img {
    transition: transform 0.3s ease;
}

.foundation-image-wrapper:hover img {
    transform: scale(1.05);
}

.foundation-image-wrapper:hover .image-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.ecobarge-link {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.ecobarge-link:hover {
    color: var(--hero-gradient);
    border-bottom: 1px solid var(--hero-gradient);
    text-decoration: none;
}

.title-link {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
}

.title-link:hover {
    color: var(--hero-gradient);
    text-decoration: none;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--ocean-blue);
}

/* Blends Section */
.blend-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.blend-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blend-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blend-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blend-card:hover .blend-image-wrapper img {
    transform: scale(1.1);
}

.blend-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center in parent */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* overlay won't block clicks */
}

.blend-overlay img {
    width: 250px;       /* fixed larger size */
    height: auto;       /* keep proportions */
    object-fit: contain;
}


.blend-content {
    padding: 2rem;
}

.blend-title {
    color: var(--coffee-brown);
    margin-bottom: 1rem;
}

.blend-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blend-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.note-tag {
    background: var(--ocean-foam);
    color: var(--deep-ocean);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Process Section */
.process-step {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--wave-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.3);
}

/* Lifestyle Section */
.bg-primary {
    background: var(--wave-gradient) !important;
}

.lifestyle-gallery img {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.lifestyle-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    color: var(--ocean-foam);
}

/* Contact Section */
.contact-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
    color: var(--teal) !important;
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--wave-gradient);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
    color: white;
    background: linear-gradient(135deg, var(--deep-ocean), var(--teal));
}

/* Footer */
footer {
    background: var(--dark-coffee) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

#foundation{
    background: var(--wave-gradient) !important;
}

#foundation p {
    color: #ffffff;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .lifestyle-gallery .col-6 {
        margin-bottom: 1rem;
    }
    
    .blend-content {
        padding: 1.5rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .wave-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .blend-content {
        padding: 1rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Smooth scrolling enhancements */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.img-fluid {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Parallax effect for hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23ffffff"><path d="M1200 120L0 16.48V0h1200v120z"/></svg>') bottom center/cover no-repeat;
    z-index: 1;
    opacity: 0.1;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
