/* ===================================
   CSS 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: #F6F6F6;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: 2px;
}

/* ===================================
   NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 246, 246, 0.98);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav-left {
    display: flex;
    gap: 30px;
}

.nav-left a {
    text-decoration: none;
    color: #000000;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-left a:hover,
.nav-left a.active {
    opacity: 0.6;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    margin-top: 80px;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===================================
   TAGLINE SECTION
   =================================== */
.tagline-section {
    padding: 120px 40px;
    text-align: center;
    background-color: #F6F6F6;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    letter-spacing: 3px;
    margin-bottom: 50px;
    line-height: 1.3;
    animation: fadeInUp 1s ease;
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.cta-button:hover {
    background-color: transparent;
    color: #000000;
}

/* ===================================
   GALLERY GRID
   =================================== */
.gallery-container {
    margin-top: 80px;
    padding: 60px 40px 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Masonry layout variations */
.gallery-item:nth-child(3n+1) {
    aspect-ratio: 2/3;
}

.gallery-item:nth-child(4n+2) {
    aspect-ratio: 1/1;
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #FFFFFF;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: opacity 0.3s ease;
}

.lightbox-nav:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-container {
    margin-top: 80px;
    padding: 80px 40px 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h1 {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333333;
}

.about-image {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-container {
    margin-top: 80px;
    padding: 80px 40px 100px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container h1 {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #333333;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #CCCCCC;
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #CC0000;
}

.error-message {
    color: #CC0000;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.submit-button {
    padding: 15px 50px;
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}

.submit-button:hover {
    background-color: transparent;
    color: #000000;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 40px;
    text-align: center;
    background-color: #F6F6F6;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer p {
    font-size: 11px;
    letter-spacing: 1px;
    color: #666666;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .nav-left {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #F6F6F6;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-left.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .logo {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .tagline-section {
        padding: 80px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item,
    .gallery-item:nth-child(3n+1),
    .gallery-item:nth-child(4n+2) {
        aspect-ratio: 3/4;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-close {
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 400px;
    }

    .tagline {
        font-size: 24px;
    }

    .contact-container,
    .about-container,
    .gallery-container {
        padding: 60px 20px;
    }
}
