/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1A1A1A;
    background-color: #FAFAF8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== CUSTOM SCROLLBAR ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #D4A373 #F5F1ED;
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #F5F1ED;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4A373 0%, #D4C5A0 100%);
    border-radius: 6px;
    border: 2px solid #F5F1ED;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #D4C5A0 0%, #C0B28C 100%);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: #2D3E2E;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #E8DED0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2D3E2E;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-symbol {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #4A4A4A;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4A373;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #2D3E2E;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 6px;
}

.btn-primary {
    background-color: #2D3E2E;
    color: #FAFAF8;
}

.btn-primary:hover {
    background-color: #1E2A1F;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 62, 46, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: #2D3E2E;
    border: 2px solid #2D3E2E;
}

.btn-secondary:hover {
    background-color: #2D3E2E;
    color: #FAFAF8;
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 80px;
    padding: 6rem 0 8rem;
    background: linear-gradient(135deg, #F5F1ED 0%, #E8DED0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 221, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text .subtitle {
    font-size: 1rem;
    color: #D4A373;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4A4A4A;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    background: #C9B9A8;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* ===== COLLECTIONS SECTION ===== */
.collections {
    background-color: #FAFAF8;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header .subtitle {
    font-size: 0.95rem;
    color: #D4A373;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.collections-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.collection-card {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.collection-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #E8DED0 0%, #D4C5B5 100%);
    position: relative;
}

.collection-content {
    padding: 2rem;
}

.collection-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2D3E2E;
}

.collection-content p {
    font-size: 1rem;
    color: #6B6B6B;
    margin-bottom: 1.5rem;
}

.collection-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2D3E2E;
    margin-bottom: 1rem;
}

.collection-cta {
    color: #D4A373;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.collection-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-cta::after {
    transform: translateX(5px);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background-color: #F5F1ED;
}

.steps {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D3E2E 0%, #3D5340 100%);
    color: #FAFAF8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    line-height: 1;
    padding: 0;
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== VALENTINES SECTION ===== */
.valentines-section {
    background: #8B2942;
    background-image: url('https://kindredcarnations.co.uk/assets/valentines-pattern.webp');
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.valentines-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.valentines-badge {
    display: inline-block;
    background: rgba(255, 182, 193, 0.15);
    color: #FFB6C1;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 182, 193, 0.3);
}

.valentines-content h2 {
    color: #FFB6C1;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.valentines-content .valentines-date {
    color: #F8D7DA;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.valentines-content p {
    color: #FFB6C1;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.valentines-cta {
    background: #FFB6C1;
    color: #8B2942;
    padding: 1.125rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.valentines-cta:hover {
    background: #F8D7DA;
    color: #8B2942;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 182, 193, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: #FAFAF8;
}

.about-content {
    margin: 3rem auto 0;
}

.about-text {
    text-align: center;
}

.about-intro {
    max-width: 750px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    color: #D4A373;
    margin-bottom: 1.25rem;
}

.highlight h4 {
    font-size: 1.25rem;
    color: #2D3E2E;
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.highlight p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== INSTAGRAM SECTION ===== */
.instagram-section {
    background: linear-gradient(135deg, #F5F1ED 0%, #FAFAF8 100%);
    padding: 5rem 0;
}

.instagram-embed-wrapper {
    margin-top: 3rem;
}

/* Style overrides for Elfsight Instagram feed */
.instagram-embed-wrapper .eapps-instagram-feed-posts-item {
    position: relative;
    overflow: hidden;
}

/* Hide text content by default */
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-template-title,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-template-text,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-caption,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-info {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

/* Show text content on hover */
.instagram-embed-wrapper .eapps-instagram-feed-posts-item:hover .eapps-instagram-feed-posts-item-template-title,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item:hover .eapps-instagram-feed-posts-item-template-text,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item:hover .eapps-instagram-feed-posts-item-caption,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item:hover .eapps-instagram-feed-posts-item-info {
    opacity: 1 !important;
}

/* Add overlay effect on hover */
.instagram-embed-wrapper .eapps-instagram-feed-posts-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.instagram-embed-wrapper .eapps-instagram-feed-posts-item:hover::before {
    opacity: 1;
}

/* Ensure text appears above overlay */
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-template-title,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-template-text,
.instagram-embed-wrapper .eapps-instagram-feed-posts-item-caption {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(135deg, #2D3E2E 0%, #3D5340 100%);
    color: #FAFAF8;
    padding: 6rem 0;
}

.contact .section-header h2,
.contact .section-header .subtitle {
    color: #FAFAF8;
}

.contact .section-header p {
    color: #E8DED0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.contact-column {
    text-align: center;
}

.contact-column h3 {
    color: #FAFAF8;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-column p {
    margin-bottom: 0;
}

.contact-column a {
    color: #D4A373;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-column a:hover {
    color: #E8DED0;
}

.contact-terms {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(232, 222, 208, 0.3);
}

.contact-terms p {
    font-size: 1rem;
    color: #E8DED0;
    margin-bottom: 1.5rem;
}

.contact-terms .btn-secondary {
    background-color: transparent;
    color: #FAFAF8;
    border: 2px solid #D4A373;
    padding: 1rem 2.5rem;
    display: inline-block;
}

.contact-terms .btn-secondary:hover {
    background-color: #D4A373;
    color: #2D3E2E;
    border-color: #D4A373;
}

.contact-terms .btn-secondary i {
    margin-right: 0.5rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1A1A1A;
    color: #E8DED0;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    min-width: 0;
}

.footer-section h4 {
    color: #FAFAF8;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #A8A8A8;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #D4A373;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 222, 208, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #6B6B6B;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: #6B6B6B;
}

.footer-bottom a:hover {
    color: #D4A373;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #2D3E2E 0%, #3D5340 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.4s ease;
    }

    .nav-links a {
        color: #FFFFFF;
        font-size: 1.25rem;
    }

    .nav-links a::after {
        background-color: #D4A373;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        height: 400px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .collection-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .audio-player::after {
        left: 65px;
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-image {
        flex: none;
        height: 300px !important;
        max-width: 100%;
    }

    .container,
    .container-wide {
        padding: 0 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .collections-grid,
    .steps,
    .highlights {
        gap: 1.5rem;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .collection-card,
    .step,
    .highlight {
        flex: 1 1 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}


/* ===== CONTACT GRID ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.contact-column {
    text-align: center;
}

.contact-column h3 {
    color: #FAFAF8;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-column p {
    margin-bottom: 0;
}

.contact-column a {
    color: #D4A373;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-column a:hover {
    color: #E8DED0;
}

.contact-terms {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(232, 222, 208, 0.3);
}

.contact-terms p {
    font-size: 1rem;
    color: #E8DED0;
    margin-bottom: 1.5rem;
}

.contact-terms .btn-secondary {
    background-color: transparent;
    color: #FAFAF8;
    border: 2px solid #D4A373;
    padding: 1rem 2.5rem;
    display: inline-block;
}

.contact-terms .btn-secondary:hover {
    background-color: #D4A373;
    color: #2D3E2E;
    border-color: #D4A373;
}

.contact-terms .btn-secondary i {
    margin-right: 0.5rem;
}

/* ===== RESPONSIVE - VALENTINES & CONTACT ===== */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .valentines-section {
        padding: 3.5rem 0;
    }

    .valentines-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.25rem;
    }

    .valentines-content h2 {
        font-size: 2rem;
    }

    .valentines-content .valentines-date {
        font-size: 1.25rem;
    }

    .valentines-content p {
        font-size: 1rem;
    }

    .valentines-cta {
        font-size: 1rem;
        padding: 1rem 2.5rem;
    }
}

/* ===== FOOTER COMPANY INFO ===== */
.footer-section p.company-reg {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}