/* ============================================
   ASSAF LAZAR - FINE ART PHOTOGRAPHY
   High-End Portfolio Landing Page
   ============================================ */

:root {
    /* Color Palette - Moody, Cinematic */
    --color-bg: #0a0a0a;
    --color-bg-elevated: #111111;
    --color-bg-accent: #1a1a1a;
    --color-text: #f5f5f5;
    --color-text-muted: #888888;
    --color-text-subtle: #555555;
    --color-accent: #c9a962;
    --color-accent-light: #e8d5a3;
    --color-accent-dark: #8b7340;
    --color-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 2rem;
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.loader-bar {
    width: 200px;
    height: 1px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--color-accent);
    animation: loadProgress 2s var(--ease-in-out) forwards;
}

@keyframes loadProgress {
    to { width: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.7;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--color-accent) !important;
    border: 1px solid var(--color-accent);
    padding: 0.6rem 1.5rem;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--color-accent);
    color: var(--color-bg) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 1px;
    background: var(--color-text);
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 2rem 0;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-xl) var(--space-md);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
        linear-gradient(to bottom, var(--color-bg), transparent 30%, transparent 70%, var(--color-bg));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 2.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.title-line:nth-child(1) { animation-delay: 2.4s; }
.title-line:nth-child(2) { animation-delay: 2.6s; }
.title-line:nth-child(3) { animation-delay: 2.8s; }

.title-italic {
    font-style: italic;
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 3s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 3.2s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 3.5s forwards;
}

.hero-scroll span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-light {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-light:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-tag--light {
    color: var(--color-accent-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
}

.section-title--light {
    color: var(--color-text);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.portfolio-item--large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-bg-elevated);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-image-frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.5s;
}

.about-image:hover .about-image-frame img {
    filter: grayscale(0%);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
}

.about-text {
    padding-left: var(--space-md);
}

.about-description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-signature {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
}

/* ============================================
   BOOKING SECTION
   ============================================ */
.booking {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.booking-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.booking-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, transparent 50%, var(--color-bg) 100%);
}

.booking-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.booking-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
    padding: var(--space-lg) var(--space-md);
    background: var(--color-bg-accent);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.newsletter-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    max-width: 300px;
    padding: 1rem 1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--color-accent);
}

.newsletter-form input::placeholder {
    color: var(--color-text-subtle);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-bg);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-details {
    margin: var(--space-lg) 0;
}

.contact-link {
    display: block;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s;
}

.contact-link:hover {
    background: var(--color-bg-elevated);
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: var(--space-md);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-lg) var(--space-md);
    background: var(--color-bg-elevated);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0.5rem 0 2rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item--large {
        grid-column: span 2;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-text {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item--large {
        grid-column: span 1;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

