/* --- 1. Root & Color Palette (Luxury/Minimalist with Blue Accent) --- */
:root {
    --bg-white: #FFFFFF;
    --bg-gray: #f9f9f9;
    --white: #FFFFFF; /* <-- THIS LINE WAS MISSING */
    --text-primary: #1a1a1a; /* Rich black for headings */
    --text-secondary: #5a5a5a; /* Softer gray for body */
    --primary-brand-blue: #002B49; /* Deep blue from product image backgrounds */
    --primary-brand-blue-dark: #001f35; /* Slightly darker for hover */
    --border-color: #ebebeb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* --- 2. Typography (Elegant Serif & Clean Sans-Serif) --- */
body {
    /* Clean, modern sans-serif for body */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    /* Elegant, high-end serif for headings */
    font-family: "Palatino", "Book Antiqua", "Goudy Old Style", Georgia, serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; }
h3 { font-size: 1.5rem; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 6rem 0;
}

/* --- 3. Header --- */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Palatino", "Book Antiqua", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-decoration: none;
    color: var(--text-primary);
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-brand-blue); 
}

/* --- 4. Button Component (Solid & Ghost Styles) --- */
.btn {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-brand-blue); 
    color: var(--white);
    border-color: var(--primary-brand-blue); /* Added for consistency */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--primary-brand-blue-dark); 
    border-color: var(--primary-brand-blue-dark); /* Match hover */
    box-shadow: 0 8px 20px rgba(0, 43, 73, 0.2); 
}

/* Both buttons are now solid blue by default */
.btn-secondary {
    background-color: var(--primary-brand-blue);
    color: var(--white);
    border: 2px solid var(--primary-brand-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Hover effect now inverts to a "ghost" button */
.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--white);
    color: var(--primary-brand-blue);
    border-color: var(--primary-brand-blue);
    box-shadow: 0 8px 20px rgba(0, 43, 73, 0.1); 
}

/* --- 5. Hero Section --- */
.hero {
    padding: 5rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content .subheading {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-image {
    flex: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
    max-height: 500px; 
    overflow: hidden; 
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    object-fit: cover; 
    max-height: 500px; 
    max-width: 100%; 
}


/* --- 6. Features Section (with SVG icons) --- */
#features {
    background: var(--bg-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

/* SVG Icon Styling */
.feature-svg-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary-brand-blue); 
    stroke-width: 1.5;
    fill: none;
    margin-bottom: 1.5rem;
}

/* --- 7. Gallery Section --- */
#gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.gallery-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden; 
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-card img {
    border-radius: 12px 12px 0 0;
    display: block;
    border-bottom: 1px solid var(--border-color);
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
}

.gallery-card-content {
    padding: 1.5rem 2rem;
}

.gallery-card-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* --- 8. How-to-Order Section --- */
#how-to {
    background: var(--bg-gray);
}

.how-to-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 2rem;
    max-width: 800px; 
    margin: 0 auto;
}

.how-to-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.how-to-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* The step number */
.how-to-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--text-primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    line-height: 40px;
    text-align: center;
}

.how-to-note {
    text-align: center;
    background: var(--white);
    border-top: 4px solid var(--primary-brand-blue); 
    padding: 2rem;
    margin: 4rem auto 0 auto;
    max-width: 700px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* --- 9. Call to Action (CTA) Section --- */
#cta {
    background-color: var(--white);
    text-align: center;
}

#cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap; 
}

/* --- 10. Footer --- */
.footer {
    padding: 4rem 0;
    background-color: var(--bg-gray);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: #999999;
    font-size: 0.9rem;
}

/* --- 11. Responsive (Mobile) --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero .container {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        max-height: 350px; 
    }

    .hero-image img {
        max-height: 350px;
    }

    .gallery-card img {
        height: 200px; 
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
    }

    .how-to-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}