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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #2c3e2d;
    overflow-x: hidden;
}

.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 45, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo img {
    height: 52px;
    width: auto;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    flex-shrink: 0;
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name .logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f4f1e8;
    letter-spacing: 0.03em;
}

.logo-name .logo-sub {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: #d4c5a9;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #f4f1e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8b4513;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #2c3e2d 0%, #4a5c2f 50%, #6b7c32 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 0.1s forwards;
}

.hero-logo img {
    height: 160px;
    width: auto;
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    color: #f4f1e8;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 0.3s forwards;
}

.hero-text .tagline {
    font-size: 1.4rem;
    color: #d4c5a9;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 0.6s forwards;
}

.cta-button {
    display: inline-block;
    background: #8b4513;
    color: #f4f1e8;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 0.9s forwards;
}

.cta-button:hover {
    background: #a0541a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.hero-visual {
    background: #24331f;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(212, 197, 169, 0.25);
}

.hero-visual h3 {
    color: #f4f1e8;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-visual p {
    color: #d4c5a9;
    line-height: 1.8;
}

.section {
    padding: 5rem 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e2d;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #8b4513;
}

.services {
    background: #f8f6f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 62, 45, 0.1);
    border: 1px solid rgba(44, 62, 45, 0.08);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 62, 45, 0.15);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e2d;
    margin-bottom: 1rem;
}

.service-card p {
    color: #5a6c5d;
    line-height: 1.7;
}

.about {
    background: linear-gradient(45deg, #2c3e2d, #4a5c2f);
    color: #f4f1e8;
}

.custom-projects {
    background: white;
}

.custom-intro {
    max-width: 68ch;
    margin: 0 auto;
    text-align: center;
    color: #5a6c5d;
    font-size: 1.1rem;
}

.custom-list {
    max-width: 800px;
    margin: 3rem auto 0;
    border-top: 1px solid rgba(44, 62, 45, 0.12);
}

.custom-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding: 1.85rem 0;
    border-bottom: 1px solid rgba(44, 62, 45, 0.12);
}

.custom-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e2d;
}

.custom-item p {
    color: #5a6c5d;
    line-height: 1.7;
}

.custom-outro {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
    color: #5a6c5d;
    font-style: italic;
}

.about .section-title {
    color: #f4f1e8;
}

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

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-visual {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(212, 197, 169, 0.25);
}

.testimonials {
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    border-top: 3px solid #8b4513;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #2c3e2d;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: #8b4513;
}

.gallery {
    background: #f8f6f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Make the first photo span 2 columns for visual interest */
.gallery-item:nth-child(1) {
    grid-column: span 2;
}

.gallery-item {
    height: 260px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item {
    transition: box-shadow 0.25s ease-out;
}

.gallery-item:hover {
    box-shadow: 0 14px 32px rgba(26, 43, 28, 0.35);
}

/* Gradient-placeholder items (no photo yet) */
.gallery-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item.placeholder:nth-child(4) { background: linear-gradient(135deg, #8b4513, #2c3e2d); }
.gallery-item.placeholder:nth-child(5) { background: linear-gradient(135deg, #4a5c2f, #6b7c32); }
.gallery-item.placeholder:nth-child(6) { background: linear-gradient(135deg, #a0541a, #8b4513); }

/* Caption overlay — slides up on hover/focus */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 43, 28, 0.88));
    color: #f4f1e8;
    padding: 2rem 1.25rem 1.1rem;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.gallery-caption span {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* On touch devices, show captions statically (no hover) */
@media (hover: none) {
    .gallery-caption {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(26, 43, 28, 0.72));
    }
}

/* Responsive gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }
}

.location-hours {
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.hours-card, .location-card {
    background: #f8f6f0;
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(44, 62, 45, 0.1);
}

.hours-card h3, .location-card h3 {
    font-family: 'Playfair Display', serif;
    color: #2c3e2d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact {
    background: linear-gradient(135deg, #2c3e2d, #4a5c2f);
    color: #f4f1e8;
}

.contact .section-title {
    color: #f4f1e8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: rgba(0, 0, 0, 0.18);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 197, 169, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(244, 241, 232, 0.3);
    border-radius: 8px;
    background: rgba(244, 241, 232, 0.9);
    color: #2c3e2d;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #8b4513;
    color: #f4f1e8;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
}

.submit-btn:hover {
    background: #a0541a;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item a {
    color: #d4c5a9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #f4f1e8;
}

.footer {
    background: #1a2b1c;
    color: #d4c5a9;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #f4f1e8;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #8b4513;
    color: #f4f1e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease-out, transform 0.2s ease-out;
}

.social-links a:hover {
    background: #a0541a;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2c3e2d;
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

.credit {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #f4f1e8;
    border-radius: 2px;
    transition: transform 0.25s ease-out, opacity 0.2s ease-out;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links-mobile {
    display: none;
    list-style: none;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links-mobile.open {
    display: flex;
}

.nav-links-mobile li {
    border-top: 1px solid rgba(244, 241, 232, 0.15);
}

.nav-links-mobile a {
    display: block;
    padding: 0.9rem 0;
    color: #f4f1e8;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 768px) {
    .logo-name {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6.5rem 1rem 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .about-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .custom-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-logo,
    .hero-text h1,
    .hero-text .tagline,
    .cta-button {
        opacity: 1;
        transform: none;
    }

    .section {
        opacity: 1;
        transform: none;
    }

    .service-card:hover,
    .cta-button:hover,
    .social-links a:hover {
        transform: none;
    }
}