/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f9f7f4;
    color: #2c2c2c;
    line-height: 1.6;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

/* ========== Layout ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Header & Navigation ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(249, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
}

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

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #2c2c2c;
    margin: 0;
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #2c2c2c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2c2c2c;
}

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

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.3) 0%, rgba(249, 247, 244, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid transparent;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: #2c2c2c;
    color: #f9f7f4;
    border-color: #2c2c2c;
}

.btn-primary:hover {
    background-color: #f9f7f4;
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ========== About Section ========== */
.about {
    padding: 6rem 0;
    background-color: #fefcf9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: #2c2c2c;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 2rem;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* ========== Gallery Section ========== */
.gallery {
    padding: 6rem 0;
    background-color: #f9f7f4;
}

.gallery .section-title {
    text-align: center;
}

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

.masonry-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background-color: #e8e3dd;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .image-overlay {
    opacity: 1;
}

.image-caption {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========== Responsive Grid ========== */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========== Contact Section ========== */
.contact {
    padding: 6rem 0;
    background-color: #fefcf9;
}

.contact .section-title {
    text-align: center;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: white;
    color: #2c2c2c;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c2c2c;
    box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
}

.contact-form textarea {
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* ========== Footer ========== */
.footer {
    padding: 4rem 0 2rem;
    background-color: #f0ebe5;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    text-align: left;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.footer-text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    font-size: 0.95rem;
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #2c2c2c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    color: #666666;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Mobile Responsive ========== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .about {
        padding: 4rem 0;
    }

    .gallery {
        padding: 4rem 0;
    }

    .contact {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about {
        padding: 3rem 0;
    }

    .gallery {
        padding: 3rem 0;
    }

    .contact {
        padding: 3rem 0;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.85rem;
    }
}

/* ========== Print Styles ========== */
@media print {
    .header,
    .contact,
    .footer {
        display: none;
    }
}
