/* Reset y variables CSS */
:root {
    --background: 255 255 255;
    --foreground: 222 84% 5%;
    --border: 214 32% 91%;
    --muted-foreground: 215 16% 47%;
    --radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 56px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.5;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

.nav-brand-text {
    line-height: 1;
}

.nav-brand-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: hsl(var(--foreground));
}

.nav-brand-subtitle {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #000;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-desktop a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: hsl(var(--foreground));
}

.nav-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-menu-btn span {
    width: 24px;
    height: 2px;
    background: hsl(var(--foreground));
    transition: all 0.3s;
}

.nav-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.nav-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: hsl(var(--foreground));
    text-decoration: none;
    padding: 0.25rem 0;
}

.btn-nav-cta,
.btn-nav-cta-mobile {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-nav-cta:hover,
.btn-nav-cta-mobile:hover {
    opacity: 0.9;
}

.btn-nav-cta-mobile {
    width: 100%;
    margin-top: 0.5rem;
    height: 44px;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .nav-menu-btn {
        display: none;
    }
}

/* Buttons */
.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 1.5rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-link {
    background: none;
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-link:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100dvh;
    padding-top: 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.35;
    transform: scale(1.03);
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hero-overlay-mist {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.1));
}

.hero-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 30%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.hero-overlay-grain {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.35'/></svg>");
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    transform: translateY(-0.25rem);
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: end;
}

.hero-left {
    grid-column: 1;
}

.hero-title {
    line-height: 0.78;
    letter-spacing: -0.02em;
}

.hero-title-main {
    display: block;
    font-size: clamp(64px, 8vw, 140px);
    font-weight: 900;
    color: #fff;
}

.hero-title-sub {
    display: block;
    margin-top: 0.25rem;
    font-size: clamp(46px, 6vw, 110px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.65);
}

.hero-subtitle {
    margin-top: 1.5rem;
    max-width: 36rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-link:hover {
    color: #fff;
}

.hero-right {
    grid-column: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-badge-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
}

.hero-badge-text {
    color: #fff;
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    .hero-left {
        grid-column: 1 / 9;
    }
    .hero-right {
        grid-column: 9 / 13;
        justify-self: end;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Section styles */
.section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: hsl(var(--muted-foreground));
}

.section-title {
    margin-top: 0.5rem;
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.section-description {
    margin-top: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: hsl(var(--background));
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.gallery-header-text {
    max-width: 36rem;
}

.gallery-grid {
    column-count: 1;
    column-gap: 16px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 16px;
    break-inside: avoid;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out, box-shadow 0.3s, border-color 0.3s;
}

.gallery-item.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item-image-container {
    position: relative;
    width: 100%;
    transform: translateZ(0);
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.95;
    transition: opacity 0.7s, transform 0.7s;
}

.gallery-item:hover .gallery-item-image {
    opacity: 1;
    transform: scale(1.03);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-item-tag {
    opacity: 1;
}

.gallery-item-title {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.gallery-item:hover .gallery-item-title {
    opacity: 1;
}

.gallery-item.xl {
    aspect-ratio: 3 / 4;
}

.gallery-item.lg {
    aspect-ratio: 4 / 5;
}

.gallery-item.md {
    aspect-ratio: 16 / 10;
}

.gallery-item.sm {
    aspect-ratio: 16 / 9;
}

@media (min-width: 640px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        column-count: 3;
    }
    .gallery-item-title {
        font-size: 1rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    max-width: 80rem;
}

.lightbox-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.lightbox-info {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-text {
    flex: 1;
}

.lightbox-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
}

.lightbox-title {
    margin-top: 0.25rem;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
}

.lightbox-controls {
    display: flex;
    gap: 0.5rem;
}

.lightbox-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-btn svg {
    width: 16px;
    height: 16px;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.about-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.about-text {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    max-width: 36rem;
}

.about-list {
    margin-top: 2rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.about-right {
    display: flex;
    align-items: flex-end;
}

.about-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    max-width: 24rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    .about-left {
        grid-column: 1 / 8;
    }
    .about-right {
        grid-column: 8 / 13;
        padding-left: 2.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: hsl(var(--background));
}

.contact-container {
    max-width: 56.25rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-card {
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    padding: 1.5rem;
}

.contact-card.locked {
    opacity: 0.7;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.form-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.form-input {
    height: 40px;
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    padding: 0 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: hsl(var(--foreground) / 0.4);
    box-shadow: 0 0 0 1px hsl(var(--foreground) / 0.15);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-textarea {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    resize: none;
    height: auto;
}

.file-upload {
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    padding: 0.75rem;
}

.file-input {
    display: block;
    width: 100%;
    font-size: 0.875rem;
    cursor: pointer;
}

.file-info {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.file-text {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.file-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.file-item {
    font-size: 10px;
    background: hsl(var(--foreground) / 0.05);
    border: 1px solid hsl(var(--foreground) / 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    color: hsl(var(--foreground) / 0.7);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-hint {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.form-error {
    grid-column: 1 / -1;
    border-radius: 0.75rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.05);
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #dc2626;
    display: none;
}

.form-error.active {
    display: block;
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-footer-text {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    display: none;
}

.btn-submit {
    margin-left: auto;
    height: 40px;
    border-radius: 9999px;
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-footer-text {
        display: block;
    }
    .contact-card {
        padding: 2rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 28rem;
    border-radius: 1rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.modal-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.modal-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.75;
}

.modal-highlight {
    color: #fff;
}

.modal-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.btn-modal-close {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-modal-close:hover {
    border-color: #fff;
    color: #fff;
}

/* Footer */
.footer {
    background: #000;
    color: rgba(255, 255, 255, 0.8);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-email {
    color: rgba(255, 255, 255, 0.6);
}

.footer-hours {
    display: flex;
    justify-content: space-between;
    max-width: 220px;
}

.footer-closed {
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-bottom {
        flex-direction: row;
    }
}

