/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #3b1f19;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c1714f;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    margin-left: 1.5rem;
    color: #6f3e32;
    font-weight: 500;
}

.desktop-nav a:hover {
    color: #c1714f;
}

.mobile-menu-button {
    background: none;
    border: none;
    color: #6f3e32;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #6f3e32;
}

.mobile-menu a:hover {
    color: #c1714f;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: url(/assets/images/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #6f3e32;
}

.hero-content p {
    font-size: 1.125rem;
    color: #a55b40;
}

.hero-image {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #f9f6e5, transparent);
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #c1714f;
    color: white;
    width: fit-content;
}

.primary-btn:hover {
    background-color: #a55b40;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: #fcf8f5;
}

.services-section h2,
.portfolio-section h2,
.contact-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #6f3e32;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 300px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.25rem 1.25rem 0.5rem;
    font-size: 1.25rem;
    color: #a55b40;
}

.service-card p {
    padding: 0 1.25rem 1.25rem;
    color: #6f3e32;
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    aspect-ratio: 1;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
    background: url(/assets/images/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #6f3e32;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e8cab6;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c1714f;
    box-shadow: 0 0 0 2px rgba(193, 113, 79, 0.2);
}

.full-width {
    grid-column: 1 / -1;
}

/* Footer */
.footer {
    background-color: #3b1f19;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer p {
    color: #f2e0d5;
    margin-bottom: 1rem;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-social a {
    color: #f2e0d5;
}

.footer-links a:hover,
.footer-social a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-copyright {
    border-top: 1px solid #6f3e32;
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #e8cab6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
}

/* Media Queries */
@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu-button {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        text-align: right;
    }

    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    div#mobile-menu {
        width: 100%;
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        background: #ffffff;
    }
    div#mobile-menu .container {
        flex-direction: column;
    }
    
}