/* ============================================
   BRITFORD TROUT FARM - STYLES
   Calm, confident, rural-premium design
   ============================================ */

/* CSS Variables - Natural Color Palette */
:root {
    --color-river-blue: #2c5f7c;
    --color-river-blue-dark: #1e4258;
    --color-river-blue-light: #4a8fb8;
    --color-muted-green: #3d6b4f;
    --color-muted-green-light: #5a9d7a;
    --color-off-white: #faf9f7;
    --color-cream: #f5f3f0;
    --color-grey-text: #5a5a5a;
    --color-grey-dark: #3a3a3a;
    --color-grey-light: #e8e6e3;
    --spacing-unit: 1rem;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-grey-text);
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 600;
    color: var(--color-river-blue-dark);
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-grey-dark);
}

a {
    color: var(--color-river-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-river-blue-dark);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-river-blue-dark);
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    max-width: 250px;
}

.logo-text {
    display: inline-block;
}

/* Hide text if logo image is present */
.nav-logo:has(.logo-img[src*="images/"]) .logo-text {
    display: none;
}

/* Show text if logo image fails to load */
.nav-logo .logo-img[src=""] {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-grey-text);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-river-blue);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-river-blue);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-river-blue-dark);
    transition: all 0.3s ease;
}

/* Section Base */
.section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-river-blue);
    margin: 1.5rem auto 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-river-blue) 0%, var(--color-river-blue-light) 50%, var(--color-muted-green) 100%);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    /* Replace this placeholder with actual hero image */
    /* Example: background-image: url('images/hero-river-avon.jpg'); */
}

/* Hide placeholder when video is playing */
.hero-image:has(.hero-video) .hero-image-placeholder {
    display: none;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 66, 88, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 400;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--color-river-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-river-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--color-river-blue);
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* What We Do Section */
.what-we-do {
    background-color: var(--color-cream);
}

.what-we-do-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.what-we-do-list li {
    font-size: 1.125rem;
    padding: 1.25rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--color-grey-light);
}

.what-we-do-list li:last-child {
    border-bottom: none;
}

.what-we-do-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-river-blue);
    font-size: 1.5rem;
    font-weight: 400;
}

.what-we-do-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Gallery Section */
.gallery {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-portrait {
    aspect-ratio: 3 / 4; /* Portrait orientation */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Replace with actual images */
    /* Example: background-image: url('images/trout-ponds.jpg'); */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Show images when they have a valid src */
.gallery-item .gallery-img {
    display: block;
}

/* Hide placeholder when image is loaded */
.gallery-item:has(.gallery-img[src*="images/"]) .gallery-image-placeholder {
    display: none;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Hide placeholder when image is shown */
.hero-image:has(.hero-img[src*="images/"]) .hero-image-placeholder {
    display: none;
}

/* Videos Section */
.videos {
    background-color: var(--color-cream);
    text-align: center;
}

.videos-intro {
    color: var(--color-grey-text);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 16:9 aspect ratio (9/16 = 0.5625 for vertical videos, but using 16:9 for reels) */
    height: 0;
    overflow: hidden;
    background-color: var(--color-grey-light);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    padding: 1rem;
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-grey-text);
    text-align: left;
}

/* Trust Section */
.trust {
    background-color: var(--color-cream);
    text-align: center;
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Reviews Section */
.reviews {
    background-color: white;
    text-align: center;
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-carousel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 2rem;
    flex: 1;
    scroll-snap-type: x mandatory;
}

.review-card {
    min-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.review-card {
    background-color: var(--color-cream);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-card[style*="display: none"] {
    display: none !important;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars {
    display: flex;
    gap: 2px;
    font-size: 1.25rem;
    line-height: 1;
}

.review-stars .star {
    color: #d3d3d3;
}

.review-stars .star.filled {
    color: #ffc107;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-grey-text);
}

.review-source svg {
    width: 16px;
    height: 16px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-grey-dark);
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-size: 1rem;
    color: var(--color-river-blue-dark);
    font-weight: 600;
    margin: 0;
    margin-top: 1rem;
}

.review-author strong {
    font-weight: 600;
    color: var(--color-river-blue-dark);
}

.reviews-cta {
    margin-top: 2rem;
}

.reviews-cta .btn-secondary {
    background-color: transparent;
    color: var(--color-river-blue);
    border: 2px solid var(--color-river-blue);
}

.reviews-cta .btn-secondary:hover {
    background-color: var(--color-river-blue);
    color: white;
}

.reviews-nav-btn {
    background-color: var(--color-river-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviews-nav-btn:hover {
    background-color: var(--color-river-blue-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reviews-nav-btn:active {
    transform: scale(0.95);
}

.reviews-nav-btn svg {
    width: 24px;
    height: 24px;
}

.reviews-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item h3 {
    color: var(--color-river-blue);
    margin-bottom: 0.75rem;
}

.contact-item p {
    margin-bottom: 0;
    line-height: 1.8;
}

.contact-item a {
    color: var(--color-grey-text);
}

.contact-item a:hover {
    color: var(--color-river-blue);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.95rem;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-loader {
    display: inline-block;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--color-grey-dark);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-grey-light);
    border-radius: 4px;
    background-color: white;
    color: var(--color-grey-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-river-blue);
    box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Social Media Section */
.social {
    background-color: var(--color-cream);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-river-blue);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background-color: var(--color-river-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
}

.social-placeholder {
    color: var(--color-grey-text);
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--color-river-blue-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 180px; /* 3 times bigger (60px * 3) */
    width: auto;
    opacity: 0.9;
    display: block;
    filter: brightness(0) invert(1); /* Makes logo white for dark footer background */
}

.footer-text {
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer p:last-child {
    margin-bottom: 0;
}

.footer-credit {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 1;
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-river-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--color-river-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    animation: whatsappGlow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8), 0 0 30px rgba(37, 211, 102, 0.6);
    animation: none; /* Stop animation on hover */
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Glowing animation for WhatsApp button */
@keyframes whatsappGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8), 0 0 30px rgba(37, 211, 102, 0.6);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .what-we-do-list li {
        padding-left: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-grey-light);
    }

    .nav-link::after {
        display: none;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float {
        bottom: 1rem;
        left: 1rem;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .reviews-carousel-wrapper {
        gap: 0.5rem;
    }

    .reviews-nav-btn {
        width: 40px;
        height: 40px;
    }

    .reviews-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-wrapper {
        padding-bottom: 177.78%; /* Maintain 16:9 for mobile */
    }

    .logo-img {
        height: 60px;
        max-width: 180px;
    }

    .nav-logo {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .section {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-river-blue);
    outline-offset: 2px;
}

/* Product Page Styles */
.product {
    background-color: white;
    padding-top: 120px;
    opacity: 1 !important; /* Make product section visible immediately */
    transform: none !important; /* Remove transform animation */
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.product-image-wrapper {
    position: sticky;
    top: 120px;
    background: linear-gradient(135deg, var(--color-cream) 0%, #f0ede8 100%);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(44, 95, 124, 0.1);
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-details > * {
    margin-bottom: 2rem;
}

.product-details > *:last-child {
    margin-bottom: 0;
}

.product-header {
    margin-bottom: 2.5rem;
}

.product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-river-blue-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 0;
    border-top: 2px solid var(--color-grey-light);
    border-bottom: none;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-river-blue);
    font-family: 'Crimson Text', serif;
}

.price-unit {
    font-size: 1.25rem;
    color: var(--color-grey-text);
}

.product-description {
    line-height: 1.9;
    margin-bottom: 2.5rem;
    color: var(--color-grey-dark);
}

.product-description p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
}

.product-description .lead {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-grey-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.product-cta {
    background: linear-gradient(135deg, var(--color-cream) 0%, #f0ede8 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid var(--color-river-blue-light);
    box-shadow: 0 4px 20px rgba(44, 95, 124, 0.1);
}

.product-cta h3 {
    color: var(--color-river-blue-dark);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.product-cta p {
    margin-bottom: 2rem;
    color: var(--color-grey-text);
    font-size: 1.125rem;
}

.product-contact-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.product-contact-buttons .btn {
    flex: 1;
    min-width: 220px;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-contact-buttons .btn-secondary {
    background-color: transparent;
    color: var(--color-river-blue);
    border: 2px solid var(--color-river-blue);
}

.product-contact-buttons .btn-secondary:hover {
    background-color: var(--color-river-blue);
    color: white;
}

.back-to-home {
    background-color: var(--color-cream);
    padding: 3rem 0;
    text-align: center;
    opacity: 1 !important; /* Make visible immediately */
    transform: none !important; /* Remove transform animation */
}

@media (max-width: 768px) {
    .product-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-image-wrapper {
        position: relative;
        top: 0;
        padding: 1.5rem;
    }

    .product-contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .product-contact-buttons .btn {
        width: 100%;
        min-width: unset;
    }

    .product-cta {
        padding: 2rem;
    }

    .product-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}
