/* --- Base Reset & Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Enable smooth scrolling for anchor links */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #fdfdfd;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo a {
    display: inline-block;
    margin-left: 10px; /* Spacing between hamburger and logo */
}

/* Style the actual logo image */
.logo img {
    max-height: 45px; /* Adjust logo height */
    width: auto;
    display: block;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.8em;
    cursor: pointer;
    margin-right: 15px; /* Space from logo text (if any) */
}



nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 5px 10px;
}

nav li {
    margin: 0 5px;
}

nav a {
    padding: 8px 18px;
    display: block;
    color: #555;
    font-size: 0.95em;
    font-weight: 400;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap; /* Prevent menu items from wrapping */
}

nav a:hover {
    color: #000;
}

nav a.active {
    border-color: #d32f2f; /* Red border */
    color: #d32f2f; /* Red text */
    font-weight: 500;
}

/* --- Hero Section --- */
section.hero { /* Use section.hero for specificity if needed */
    padding: 80px 0 60px 0;
    text-align: center;
    overflow: hidden;
    border-top: none; /* Ensure no top border */
}

.hero-text {
    margin-bottom: 50px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2em;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    color: #666;
    font-style: italic;
}

/* Artwork Scroller */
.artwork-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
}

.artwork-track {
    display: flex;
    /* Width: (Card Width + Total Horizontal Margin) * Total Cards */
    width: calc((300px + 20px) * 8); /* 300px width + 10px left + 10px right = 320px per card */
    animation: scroll 45s linear infinite;
}

.artwork-card {
    flex: 0 0 300px;
    margin: 10px; /* 10px margin all around */
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.artwork-card:hover {
   transform: translateY(-5px);
}

.artwork-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Scrolling Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by the width of ONE SET of original images */
        transform: translateX(calc(-(300px + 20px) * 4));
    }
}

/* === General Section Styling === */
section {
    padding: 70px 0;
    border-top: 1px solid #f0f0f0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 2.4em;
    font-weight: 600;
    color: #2c2c2c;
}

.section-title.align-left {
    text-align: left;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 1px solid transparent;
    margin-top: 15px;
}

.btn-primary {
    background-color: #b99767; /* Gold/brown */
    color: #ffffff;
    border-color: #b99767;
}

.btn-primary:hover {
    background-color: #a88a5d;
    border-color: #a88a5d;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #b99767;
    border: 1px solid #b99767;
}

.btn-secondary:hover {
    background-color: #b99767;
    color: #ffffff;
    transform: translateY(-2px);
}

/* === Featured Collections Section === */
.featured-collections {
    background-color: #fdfdfd;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

@media (min-width: 600px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.collection-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.collection-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 20px;
}

.collection-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.collection-item p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
    line-height: 1.5;
}

/* === About Preview Section === */
.about-preview {
    background-color: #f9f9f9;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-content-wrapper {
        flex-direction: row;
        align-items: flex-start; /* Align items to top */
        gap: 50px;
    }
}

.about-image {
    flex: 1 1 45%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1 1 55%;
    max-width: 600px;
}

.about-text p {
    font-size: 1.0em;
    color: #555;
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 25px;
}

/* === Custom Orders Section === */
.custom-orders {
    text-align: center;
    background-color: #ffffff;
}

.custom-orders p {
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-size: 1.05em;
    color: #555;
}

/* === Contact Section (Placeholder Styling) === */
.contact-section {
    background-color: #f1f1f1;
    text-align: center;
}

.contact-section p {
     max-width: 600px;
     margin: 0 auto 40px auto;
     font-size: 1.05em;
     color: #555;
}

.contact-form-placeholder {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border: 1px dashed #ccc;
    background-color: #fff;
    color: #999;
    font-style: italic;
    border-radius: 8px;
    line-height: 1.8;
}
#contactForm {
    .form-group {
        margin-bottom: 15px;
    }

    label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    textarea {
        resize: vertical;
    }

    button[type="submit"] {
        background-color: #007bff;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        width: 100%;
    }

    button[type="submit"]:hover {
        background-color: #0056b3;
    }

    .success-message {
        color: green;
        margin-top: 10px;
        text-align: center;
    }

    .error-message {
        color: red;
        margin-top: 10px;
        text-align: center;
    }
}

/* === Footer === */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 0; /* Remove top margin if contact section is directly above */
    background-color: #e9e9e9;
    font-size: 0.9em;
    color: #555;
    border-top: 1px solid #ddd; /* Add border top */
}

footer p {
    margin-bottom: 5px; /* Space between lines */
}

/* === Responsive Design --- */

/* Tablet */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8em;
    }
    .hero p {
        font-size: 1.2em;
    }
     .artwork-track {
        width: calc((250px + 20px) * 8); /* Card: 250px + 10px margin left/right */
        animation-duration: 40s;
    }
     .artwork-card {
        flex: 0 0 250px;
    }
    .artwork-card img {
         height: 250px;
    }
     @keyframes scroll { /* Redefine animation */
         0% { transform: translateX(0); }
         100% { transform: translateX(calc(-(250px + 20px) * 4)); }
     }
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .logo {
        /* Center logo container or adjust as needed */
         margin: 0 auto; /* Centers the div */
         padding-left: 0; /* Reset padding */
         display: flex;
         justify-content: center; /* Centers the link within the div */
    }
    .logo a {
         margin-left: 0; /* Reset margin if hamburger is absolute */
    }
    .logo img {
        max-height: 40px; /* Smaller logo on mobile */
    }

    nav {
        display: none;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        border: none;
        border-radius: 0;
        padding: 10px 0;
        width: 100%;
    }
    nav li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
     nav li:last-child {
         border-bottom: none;
     }
    nav a {
        padding: 15px;
        border-radius: 0;
        border: none !important;
        width: 100%;
    }
    nav a.active {
        background-color: #f5f5f5;
        color: #d32f2f;
    }

    .hero {
        padding: 40px 0 30px 0;
    }
    .hero h1 {
        font-size: 2.2em;
    }
    .hero p {
        font-size: 1.1em;
    }

    /* Artwork scroller on mobile */
    .artwork-track {
        width: calc((200px + 15px) * 8); /* Card: 200px + 7.5px margin left/right */
        animation-duration: 35s;
    }
    .artwork-card {
        flex: 0 0 200px;
        margin: 10px 7.5px;
    }
     .artwork-card img {
         height: 200px;
    }
     @keyframes scroll { /* Redefine animation */
         0% { transform: translateX(0); }
         100% { transform: translateX(calc(-(200px + 15px) * 4)); }
     }

    /* Adjust general sections for mobile */
    .section-title {
        font-size: 2em;
        margin-bottom: 35px;
    }
    .section-title.align-left {
         text-align: center;
         margin-bottom: 25px;
    }

    /* Stack About section */
    .about-content-wrapper {
        gap: 30px;
    }
    .about-text {
        text-align: center;
    }
    .about-text .btn {
        margin-left: auto;
        margin-right: auto;
    }

    /* Adjust collection items */
    .collection-item img {
        height: 220px;
    }

    /* Adjust buttons */
    .btn {
         padding: 10px 25px;
         font-size: 0.9em;
    }
}

/* Smaller mobile */
@media (max-width: 480px) {
     .hero h1 {
        font-size: 1.9em;
    }
    .hero p {
        font-size: 1.0em;
    }
    /* Further reduce card size if needed */
     .artwork-track {
        width: calc((160px + 10px) * 8); /* Card: 160px + 5px margin left/right */
        animation-duration: 30s;
    }
    .artwork-card {
        flex: 0 0 160px;
        margin: 10px 5px;
    }
     .artwork-card img {
         height: 160px;
    }
     @keyframes scroll { /* Redefine animation */
         0% { transform: translateX(0); }
         100% { transform: translateX(calc(-(160px + 10px) * 4)); }
     }

    .collection-grid {
        gap: 20px; /* Reduce gap */
    }
    .collection-item img {
        height: 180px;
    }
}
.download-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 30px;
  }
  
  .download-btn:hover {
    background-color: #333;
  }