/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --light-bg: #f9f9f9;
    --dark-bg: #1a252f;
    --text-color: #333;
    --white: #ffffff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.text-white { color: var(--white); }

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary-color);
    font-size: 16px;
    display: block;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/exterior_2.webp') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #d35400;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-bottom: 80px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 15px 10px;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 15px 30px;
    font-size: 0.95rem;
}

/* Gallery Section */
#gallery {
    padding-bottom: 80px;
}

.gallery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}

.gallery-feature {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.85) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.gallery-overlay span {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f3d9b1;
}

.gallery-overlay h3 {
    font-size: 2rem;
    margin: 10px 0;
}

.gallery-overlay p {
    max-width: 420px;
    font-size: 1rem;
}

.gallery-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 18px;
}

.gallery-tile {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

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

.gallery-tile figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    color: var(--white);
    font-size: 0.9rem;
}

.gallery-tile.tall {
    grid-row: span 2;
}

.gallery-strip {
    margin-top: 10px;
}

.gallery-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 16px;
}

.gallery-strip-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.gallery-strip-header p {
    color: #666;
    max-width: 420px;
    font-size: 0.95rem;
}

.gallery-scroller {
    position: relative;
    overflow: hidden;
    padding-bottom: 10px;
}

.gallery-marquee {
    display: flex;
    width: max-content;
    animation: gallery-marquee 45s linear infinite;
}

.gallery-track {
    display: flex;
    gap: 16px;
    padding-right: 16px;
    flex-shrink: 0;
}

.gallery-scroller:hover .gallery-marquee {
    animation-play-state: paused;
}

.gallery-thumb {
    position: relative;
    width: 220px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

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

.gallery-thumb figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.gallery-thumb:hover figcaption,
.gallery-thumb:focus-within figcaption {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gallery-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Contact Section */
#contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .gallery-feature {
        min-height: 320px;
    }

    .gallery-overlay {
        padding: 24px;
    }

    .gallery-overlay h3 {
        font-size: 1.6rem;
    }

    .gallery-collage {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-tile.tall {
        grid-row: span 1;
    }

    .gallery-strip-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-thumb {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-marquee {
        animation: none;
    }

    .gallery-scroller {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
