:root {
  --color-white: #ffffff;
  --color-lightcream: #f8f9fa;
  --color-darkgray: #495057;
  --color-gray: #6c757d;
  --color-gold: #d4af37;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Source Sans Pro', sans-serif;
}
body.dark-theme {
  --color-white: #181818;
  --color-lightcream: #212124;
  --color-darkgray: #e6e6e6;
  --color-gray: #b3b3b3;
  --color-gold: #e1c563;
  background: var(--color-lightcream);
  color: var(--color-darkgray);
}/* Google Fonts: Playfair Display (headings), Source Sans Pro (body) */
:root {
    --color-white: #ffffff;
    --color-lightcream: #f8f9fa;
    --color-darkgray: #495057;
    --color-gray: #6c757d;
    --color-gold: #d4af37;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Source Sans Pro', sans-serif;
}

/* Reset and basics */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--color-lightcream);
    color: var(--color-darkgray);
    line-height: 1.6;
}
a {
    color: var(--color-gold);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--color-darkgray);
    margin-top: 0;
}
p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--color-white);
    border-bottom: 1px solid #ccc;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}
.nav-logo h2 {
    font-family: var(--font-serif);
    color: var(--color-gold);
    margin: 0;
}
.nav-menu a {
    margin-left: 1.5rem;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--color-darkgray);
}
.nav-link.active,
.nav-link:hover {
    color: var(--color-gold);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.nav-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--color-darkgray);
    margin: 4px 0;
    border-radius: 5px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 75vh;
    max-height: 600px;
    box-shadow: 0px 0 15px rgba(0,0,0,0.1);
}
.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active {
    opacity: 1;
    position: relative;
}
.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}
.hero-slider .slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}
.hero-slider h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.hero-slider p {
    font-size: 1.3rem;
}

/* Slider controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.slider-controls button {
    background: rgba(0,0,0,0.4);
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    padding: 0 15px;
    cursor: pointer;
    user-select: none;
}
.slider-controls button:hover {
    background: var(--color-gold);
    transition: all 0.3s ease;
}

/* Sections */
section {
    padding: 3rem 0;
}
.welcome-section p,
.services ul,
.testimonials .testimonial {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Featured Work */
.featured-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.featured-gallery img {
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
    object-fit: cover;
    height: 220px;
}

/* Services */
.services ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.services ul li {
    background: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    text-align: center;
}
.testimonials .testimonial {
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonials span {
    display: block;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Call To Action */
.cta {
    text-align: center;
}
.cta .btn {
    background: var(--color-gold);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.cta .btn:hover {
    background: #b38817;
}

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

/* Responsive */
@media (max-width: 768px) {
    .featured-gallery img {
        width: 100%;
        margin-bottom: 1rem;
    }
    .services ul {
        flex-direction: column;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        background: var(--color-white);
        position: absolute;
        top: 60px;
        right: 1rem;
        width: 180px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
        border-radius: 5px;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-link {
        margin: 1rem 0;
        padding: 0.5rem 1rem;
    }
    .nav-toggle {
        display: flex;
    }
}

/* Portfolio Page */
.portfolio-page h1,
.blog-page h1,
.shop-page h1,
.contact-page h1,
.about-page h1 {
    text-align: center;
    margin-bottom: 2rem;
}
.filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
}
.filter-buttons button {
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 0.4rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.filter-buttons button.active,
.filter-buttons button:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 1rem;
}
.portfolio-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.portfolio-item:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2000;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
}
.lightbox-close {
    top: 20px;
    right: 30px;
}
.lightbox-prev {
    left: 30px;
}
.lightbox-next {
    right: 30px;
}

/* Shop Page */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 2rem;
}
.product-card {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    text-align: center;
}
.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}
.product-card h3 {
    margin: 1rem 0 0.5rem 0;
    font-family: var(--font-serif);
}
.product-card p.price {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}
.product-card .btn {
    background: var(--color-gold);
    color: var(--color-white);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}
.product-card .btn:hover {
    background: #b38817;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 2rem;
}
.blog-post {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.blog-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-post h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin: 0.5rem 1rem;
}
.blog-post p {
    flex-grow: 1;
    margin: 0 1rem 1rem 1rem;
}
.blog-post .read-more {
    padding: 0.75rem 1rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    text-align: center;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
}
.blog-post .read-more:hover {
    background-color: #b38817;
}

/* Contact Page */
.contact-page form {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
}
.contact-page label {
    margin: 0.8rem 0 0.3rem;
    font-weight: 600;
}
.contact-page input,
.contact-page textarea {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
}
.contact-page textarea {
    resize: vertical;
}
.contact-page button.btn {
    margin-top: 1.2rem;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
}
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}
.contact-info a {
    color: var(--color-gold);
}
.map-container {
    margin-top: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

/* About page team members and images */
.about-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.about-images img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 250px;
}
.team-members {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.team-member {
    text-align: center;
    max-width: 220px;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-images img {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-slider .slide-content h1 {
        font-size: 1.8rem;
    }
    .hero-slider .slide-content p {
        font-size: 1rem;
    }
    .services ul {
        flex-direction: column;
    }
}