/* ========================================
    LAKELINES CO. - GLOBAL STYLES
    Premium, minimal, light aesthetic
    ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #2c2c2c;
    background-color: #fafaf8;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-divider {
    border-top: 3px solid #2c5aa0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin: 0 auto 1rem;
    width: 50%;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 2rem;
    color: #2c5aa0;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3f7a;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px 1rem;
}

.nav-brand a {
    position: relative;
    top: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center; /* vertically center nav items */
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: #4a4a4a;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2c5aa0;
}

/* Style the Shop nav link like the primary button (no HTML changes needed) */
.nav-links a[href*="shop.lakelines.co"] {
    display: inline-block;
    padding: 0.9rem 1.25rem;
    background-color: #2c5aa0;
    color: #ffffff;
    border-radius: 8px;
    border: 2px solid transparent;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a[href*="shop.lakelines.co"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.15);
    color: #ffffff;
}

/* ========================================
   FLOATING CTA BAR
   ======================================== */

/* Floating CTA bar removed — persistent action buttons live inside page content now */

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    /* Keep the original primary background and text color on hover
       to avoid contrast/readability issues on certain backgrounds */
    background-color: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.25);
}

.btn-secondary {
    background-color: #e8d4c4;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background-color: #d9bfaa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 212, 196, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    /* Prevent outline buttons from switching to a filled blue on hover
       so text remains readable against background images/videos */
    background-color: transparent;
    color: #2c5aa0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 20px;
    background-color: #000; /* make hero banner background black */
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* Hero background video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* make hero video 70% opaque */
}

/* Ensure hero content sits above the video */
.hero-content {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1; /* span both hero columns */
    width: 100%;
    max-width: none;
    padding: 0 20px;
    text-align: center;
}

/* Optional subtle overlay to improve text contrast */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 2rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* .hero-image removed — background video used instead */

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 20px;
        gap: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-section {
    padding: 6rem 20px;
    background-color: #fafafa;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-card {
    background-color: #fafaf8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-content {
    padding: 2.5rem;
}

.product-content h3 {
    margin-bottom: 1rem;
}

.product-content p {
    margin-bottom: 1rem;
}

.product-note {
    font-size: 0.9rem;
    color: #7a7a7a;
    font-style: italic;
    margin-bottom: 1.5rem !important;
}

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

    h2 {
        font-size: 2rem;
    }
}

/* Steps icons section (three columns) */
.steps-section,
.category-section {
    padding: 4rem 20px;
    background-color: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.steps-grid .step {
    text-align: center;
    padding: 1.25rem;
}

.steps-grid .step-icon {
    max-width: 300px;
    height: auto
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: inline-block;
}

.steps-grid .step-image {
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: inline-block;
}

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

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: 6rem 20px;
    background: linear-gradient(135deg, #fafaf8 0%, #f5f1ed 100%);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #2c5aa0;
    color: white;
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    color: #5a5a5a;
}

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

/* ========================================
   WHY PEOPLE BUY SECTION
   ======================================== */
.why-buy-section {
    padding: 6rem 20px;
    background-color: #467b82; /* updated per request */
}

.why-buy-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.why-buy-section p {
    max-width: 900px;
    margin: 0 auto 1rem;
    font-size: 1.05rem;
    color: #e6e6e6;
    line-height: 1.8;
}

/* two-column layout for Why People Buy */
.why-buy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.why-buy-text {
    max-width: 680px;
}

.why-buy-text h2 {
    text-align: left;
}

.why-buy-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: none; /* remove shadow/border look */
    background-color: transparent; /* ensure no white background */
    border: none;
    object-fit: cover;
}

.why-buy-image {
    background: transparent; /* remove white background for right column */
}

@media (max-width: 768px) {
    .why-buy-grid {
        grid-template-columns: 1fr;
    }
    .why-buy-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .why-buy-section {
        padding: 3rem 20px;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 6rem 20px;
    background-color: #ffffff;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.faq-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    color: #5a5a5a;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr; /* single column of questions */
    gap: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: transparent;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700; /* make questions bold */
}

.faq-question:focus {
    outline: 2px solid rgba(44,90,160,0.15);
}

.faq-toggle {
    margin-left: 1rem;
    font-weight: 700;
    color: #2c5aa0;
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
    padding: 0 1.25rem;
    border-left: 1px solid rgba(0,0,0,0.03);
    border-right: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    background: #fff;
}

.faq-item.open .faq-answer {
    padding: 0.75rem 1.25rem 1.25rem;
    max-height: 400px;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   GALLERY PREVIEW & FULL GALLERY
   ======================================== */

.gallery-preview {
    padding: 6rem 20px;
    background-color: #fafafa;
}

.gallery-preview h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px; /* two rows of 300px each when there are 6 items */
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.gallery-grid-large .gallery-item img {
    height: 400px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid,
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }

    .gallery-item img,
    .gallery-grid-large .gallery-item img {
        height: 300px;
    }
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    padding: 5rem 20px;
    background-color: #ffffff;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 0.5rem;
}

.final-cta p {
    font-size: 1.1rem;
    color: #5a5a5a;
    margin-bottom: 2.5rem;
    display: inline-block;
}

.final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .final-cta {
        padding: 3rem 20px;
    }

    .final-buttons {
        flex-direction: column;
    }

    .final-buttons .btn {
        width: 100%;
    }
}

/* Make About page final CTA match home page light grey */
.page-about .final-cta {
    background-color: #fafafa;
}

/* Also make Contact page final CTA use same light grey */
.page-contact .final-cta {
    background-color: #fafafa;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: 4rem 20px;
    background-color: #000000;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #5a5a5a;
}

/* Page-specific header banners */
.page-about .page-header,
.page-contact .page-header {
    padding: 6rem 20px;
    min-height: 320px;
    display: flex;
    align-items: center;
    position: relative; /* allow pseudo-element for image */
    overflow: hidden;
}

.page-about .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/banner-island.png');
    background-size: cover;
    background-position: center;    
    opacity: 1; /* image at 70% opacity */
    z-index: 0;
}

.page-contact .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/banner-trees.png');
    background-size: cover;
    background-position: center;    
    opacity: 0.8; /* image at 70% opacity */
    z-index: 0;
}

.page-about .page-header h1,
.page-contact .page-header h1 {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.45);
    font-weight: 700;
    position: relative; /* ensure text sits above pseudo-image */
    z-index: 1;
}

.page-about .page-header p,
.page-contact .page-header p {
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 1;
}

/* ========================================
   FULL GALLERY PAGE
   ======================================== */

.full-gallery {
    padding: 4rem 20px;
    background-color: #fff;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: 4rem 20px;
    background-color: #fff;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 4rem 20px;
    background-color: #fff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 1rem;
}

.contact-form {
    margin: 2.5rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info a {
    color: #2c5aa0;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.footer p {
    color: #bbb;
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .navbar .container {
        padding: 1rem 20px 1rem;
    }

    .nav-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-brand {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-links {
        width: 100%;
        gap: 1.5rem;
        justify-content: space-around;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-form {
        margin: 1.5rem 0;
    }
}
