/* Color Palette & Font Variables */
:root {
    --color-sandstone-light: #f0e6d6; /* Light background */
    --color-sandstone-medium: #d4ac88; /* Mid-tone */
    --color-sandstone-dark: #a07353; /* Sandstone base */
    --color-shadow: #362a24; /* Dark contrast text/shadows */
    --color-gold-accent: #f2c688; /* Gold highlights/buttons */
    --color-heritage-title: #4d362d; /* Title color, deep brown */
    --color-heritage-text:#a07a4a;

    --color-heritage: linear-gradient(
    to bottom,
    #f2e0b5 0%,     /* Very light, almost white gold highlight */
    #e0c38c 25%,    /* Lighter gold/bronze */
    #ccaa66 60%,    /* Mid-tone gold */
    #b38b59 100%    /* Deeper, but still warm bronze, no dark brown */
  );
    
    --font-title: 'Cinzel Decorative', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-shadow);
    background-color: var(--color-sandstone-light);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: var(--font-title);
    color: var(--color-heritage-title);
    text-align: center;
    margin-bottom: 20px;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 15px;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(240, 230, 214, 0.95); /* Light background with slight transparency */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* Container for the logo */
    display: flex;
    align-items: center;
}

/* SVG Logo Styling */
.hapster-logo-svg {
    height: 40px; /* Default height */
    width: auto;
}

.logo .hapster-logo-svg {
    height: 20px;
}

.hapster-logo-path {
    transition: fill 0.3s ease;
}

/* Color for Navbar Logo */
.logo .hapster-logo-path {
    fill: var(--color-heritage-title);
}

nav a {
    color: var(--color-shadow);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-sandstone-dark);
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--color-gold-accent);
    color: var(--color-shadow);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--color-gold-accent);
}

.cta-button:hover {
    background-color: var(--color-sandstone-dark);
    color: white;
}

.large-cta {
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Background style mimicking the KV */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('./kv/Heritage_KV_4K_Vertical.jpg') center center/cover;
    color: white;
    position: relative;
    box-shadow: inset 0 -20px 20px rgba(0, 0, 0, 0.1);
}

.hero-content {
    background-color: rgba(54, 42, 36, 0.6); /* Semi-transparent overlay for text readability */
    padding: 40px 60px;
    border-radius: 10px;
}

.brand-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    letter-spacing: 4px;
    color: var(--color-gold-accent);
    margin-bottom: 5px;
}

.brand-name .hapster-logo-svg {
    height: 24px; /* Smaller size for the hero */
}

/* Color for Hero Logo */
.brand-name .hapster-logo-path {
    fill: var(--color-gold-accent);
}




.collection-title {
    font-size: 6rem;
    background-image: linear-gradient(to right, var(--color-sandstone-dark), #e6b86a, #fff5e1, #e6b86a, var(--color-sandstone-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support background-clip: text */
    line-height: 1;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #fff;
}

/* General Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    color: var(--color-sandstone-dark);
    font-weight: 700;
}

hr {
    border: none;
    border-top: 1px solid var(--color-sandstone-medium);
    margin: 0;
}

/* Story Section */
.story-section {
    background-color: var(--color-sandstone-light);
    padding-top: 120px; /* Increased padding for more space */
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.story-text {
    font-size: 1.1rem;
}

.monument-list {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(212, 172, 136, 0.2);
    border-left: 5px solid var(--color-sandstone-dark);
}

.story-visual {
    background-color: var(--color-sandstone-medium);
    color: var(--color-shadow);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
}

/* Monuments Section */
.monuments-section {
    padding-top: 0;
}

.monument-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.monument-item:last-child {
    margin-bottom: 0;
}

.monument-item--reversed .monument-image {
    grid-column: 2;
    grid-row: 1;
}

.monument-item--reversed .monument-text {
    grid-column: 1;
    grid-row: 1;
}

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

.monument-text h3 {
    text-align: left;
    font-size: 2rem;
}

.monument-text p {
    font-size: 1.1rem;
    color: var(--color-shadow);
}

/* Highlights Section */
.highlights-section {
    background-color: #e5dccf; /* Slightly darker than light */
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.highlight-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.highlight-item h3 {
    word-break: break-word;
    font-size: 1.25rem; /* Reduced font size for better fit */
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

/* Palette Section */
.palette-section .section-title,
.vm-section .section-title {
    margin-top: 40px; /* Added space above the titles */
}

.palette-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.palette-item {
    background-color: white;
    padding: 40px; /* Increased padding */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.palette-item h3 {
    font-size: 1.5rem;
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

/* VM Section */
.vm-section {
    padding-bottom: 80px; /* Added padding */
}

.vm-section p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.image-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Shop CTA Section */
.shop-cta {
    text-align: center;
    background-color: var(--color-sandstone-dark);
    color: white;
    padding: 100px 0;
}

.shop-cta h2, .shop-cta p {
    color: white;
}

.shop-cta .cta-button {
    background-color: var(--color-gold-accent);
    border-color: var(--color-gold-accent);
    color: var(--color-shadow);
}
.shop-cta .cta-button:hover {
    background-color: var(--color-sandstone-light);
}

/* Footer */
footer {
    background-color: var(--color-shadow);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .collection-title {
        font-size: 4rem;
    }
    .tagline {
        font-size: 1.2rem;
    }
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-visual {
        order: -1; /* Move visual to the top on mobile */
    }
    nav a {
        margin-left: 15px;
        font-size: 0.9rem;
    }

    .monument-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .monument-item--reversed .monument-image,
    .monument-item--reversed .monument-text {
        grid-column: 1;
        grid-row: auto;
    }

    .monument-text h3 {
        text-align: center;
    }

    .palette-grid {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
}