
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600&display=swap');

/* Color Variables */
:root {
    --deep-ocean: #0a1828;
    --ocean-blue: #1e3a5f;
    --wave-teal: #2c5f7c;
    --sea-foam: #9dc7d9;
    --shore-sand: #d4a574;
    --white-foam: #f8f9fa;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

/* Body */
body {
    font-family: 'Heebo', sans-serif;
    background: var(--deep-ocean);
    color: var(--white-foam);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Animated Background */
.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        linear-gradient(180deg, 
            var(--deep-ocean) 0%, 
            var(--ocean-blue) 50%, 
            var(--wave-teal) 100%
        );
}

.ocean-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(156, 199, 217, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite alternate;
}

.ocean-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    opacity: 0.3;
}

/* Photo Gallery */
.photo-gallery {
    padding: 4rem 2rem 2rem 2rem;
    background: rgba(10, 24, 40, 0.9);
    border-bottom: 1px solid rgba(156, 199, 217, 0.2);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.gallery-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 2px solid rgba(156, 199, 217, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-photo:hover {
    transform: scale(1.05);
    border-color: var(--shore-sand);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Gallery Link */
.gallery-link-container {
    text-align: center;
    padding: 0.5rem 0 1rem 0;
}

.gallery-link {
    color: var(--shore-sand);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.gallery-link:hover {
    border-bottom-color: var(--shore-sand);
    color: var(--sea-foam);
}
/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
     padding: 0.5rem 1rem;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(156, 199, 217, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-name {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--white-foam);
    text-shadow: 0 0 30px rgba(156, 199, 217, 0.5);
    animation: fadeInScale 1.5s ease-out;
}

.hero-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--shore-sand), transparent);
    margin: 2rem auto;
    animation: expandWidth 1s ease-out 0.5s both;
}

.hero-roles {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--sea-foam);
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.8s both;
}

.hero-statement {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    font-weight: 400;
    color: var(--shore-sand);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 1.2s both;
    padding: 0 1rem;
}

.hero-btn-small {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 2px solid var(--shore-sand);
    color: var(--shore-sand);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.hero-btn-small:hover {
    background: var(--shore-sand);
    color: var(--deep-ocean);
}

/* About Section */
.passion-section {
    max-width: 900px;
    margin: 2rem auto;
}

.passion-image-top {
    text-align: center;
    margin-bottom: 2rem;
}

.passion-image-top img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--shore-sand);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.passion-text {
    max-width: 900px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--white-foam);
    font-weight: 300;
    text-align: justify;
}

.passion-text p {
    margin: 0;
}
.about-section {
    padding: 2rem 1rem;
    position: relative;
    background: rgba(10, 24, 40, 0.8);
    backdrop-filter: blur(10px);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--sea-foam);
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--shore-sand);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--white-foam);
    font-weight: 300;
}

.about-text strong {
    color: var(--shore-sand);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Works Section */
.works-section {
    padding: 2rem 1rem;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.work-project {
    margin-bottom: 6rem;
}

.work-project:last-child {
    margin-bottom: 0;
}

.project-header {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--sea-foam);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 1rem;
}

.project-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--shore-sand), transparent);
}

.single-video-container {
    max-width: 900px;
    margin: 0 auto;
}

.dual-video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 2px solid rgba(156, 199, 217, 0.3);
    background: rgba(10, 24, 40, 0.6);
    transition: all 0.3s ease;
}

.work-video:hover {
    border-color: var(--shore-sand);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.work-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact-section {
    padding: 2rem 1rem 1rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 24, 40, 0.9) 100%);
    text-align: center;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--shore-sand), transparent);
}

.contact-title {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--sea-foam);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-btn {
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid var(--shore-sand);
    color: var(--shore-sand);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--shore-sand);
    transition: left 0.3s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    left: 0;
}

.contact-btn:hover {
    color: var(--deep-ocean);
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    text-align: center;
    background: rgba(10, 24, 40, 0.95);
    border-top: 1px solid rgba(156, 199, 217, 0.2);
    font-size: 0.9rem;
    color: var(--sea-foam);
}

.footer p {
    margin: 0;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 200px; }
}

@keyframes shimmer {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* Mobile - Hero & Gallery */
@media (max-width: 768px) {
    .gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .gallery-photo {
        flex: 0 0 85%;
        scroll-snap-align: center;
        height: 600px;  /* הוספה */
    }
    
    .hero {
        min-height: 50vh;
        padding: 1rem 1rem 2rem 1rem;
    }
    
    .photo-gallery {
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .hero-statement {
        white-space: normal;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .dual-video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .works-section {
        padding: 4rem 1rem;
    }
    
    .work-project {
        margin-bottom: 4rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-photo {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-photo {
        height: 300px;
    }
    
    .photo-gallery {
        padding: 2rem 1rem;
    }
}

/* Desktop - keep statement on one line */
@media (min-width: 769px) {
    .hero-statement {
        white-space: nowrap;
    }
}