/* =====================================================
   FRAMEVISION - PREMIUM MINIMALIST STYLES
   ===================================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #606060;
    --accent: #c5a880; /* Subtle champagne gold */
    --accent-hover: #d9c3a3;
    --border: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(197, 168, 128, 0.5);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea {
    background: none;
    border: none;
    font-family: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* =====================================================
   PRELOADER
   ===================================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-line {
    width: 150px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.preloader-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--accent);
    animation: loading 1.5s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

@keyframes loading {
    0% { left: -50%; width: 30%; }
    50% { width: 60%; }
    100% { left: 120%; width: 20%; }
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

.header.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-dot {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Lang Selector */
.lang-selector {
    display: flex;
    border-left: 1px solid var(--border);
    padding-left: 20px;
    gap: 12px;
}

.lang-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
    color: var(--accent);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .lang-selector {
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(197, 168, 128, 0.04) 0%, transparent 60%);
    padding: 120px 24px 80px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.italic-serif {
    font-style: italic;
    color: var(--accent);
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 6px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-explore svg {
    transition: transform var(--transition-fast) ease;
}

.btn-explore:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-explore:hover svg {
    transform: translateY(4px);
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    background: #080808;
}

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.filter-btn {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--bg-primary);
    background: var(--text-primary);
    border-color: var(--text-primary);
}

.gallery-grid {
    column-count: 3;
    column-gap: 30px;
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 650px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
    display: block;
    animation: itemFadeIn 0.8s ease backwards;
}

@keyframes itemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid var(--border);
}

.gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
}

.img-info {
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-category {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.img-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
}

.view-btn {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent);
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-wrapper:hover .gallery-img {
    transform: scale(1.08);
}

.image-wrapper:hover .img-overlay {
    opacity: 1;
}

.image-wrapper:hover .img-info, 
.image-wrapper:hover .view-btn {
    transform: translateY(0);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    padding: 120px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.about-image-wrapper {
    border: 1px solid var(--border);
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.about-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 1s ease;
}

.about-image-wrapper:hover .about-img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .about-img {
        height: 400px;
    }
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.about-p1 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 300;
}

.about-p2 {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 0.95rem;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
}

.stat-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.contact-container {
    max-width: 800px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-weight: 300;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--bg-primary);
}

.btn-submit {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

/* Success State Styles */
.form-success {
    text-align: center;
    padding: 40px;
    border: 1px dashed var(--accent);
    border-radius: 4px;
    background: var(--bg-primary);
    animation: itemFadeIn 0.5s ease;
}

.form-success svg {
    color: var(--accent);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 60px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.footer-socials {
    display: flex;
    gap: 24px;
}

.footer-socials a:hover {
    color: var(--accent);
}

/* =====================================================
   LIGHTBOX MODAL
   ===================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.98);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 3rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10002;
}

.lightbox-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10002;
    padding: 20px;
}

.lightbox-arrow:hover {
    color: var(--accent);
}

.lightbox-arrow--prev { left: 40px; }
.lightbox-arrow--next { right: 40px; }

@media (max-width: 768px) {
    .lightbox-arrow {
        position: fixed;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    .lightbox-arrow--prev { left: 20%; }
    .lightbox-arrow--next { right: 20%; }
    .lightbox-close { top: 20px; right: 20px; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.lightbox-caption {
    text-align: center;
    margin-top: 24px;
}

.lightbox-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
}
