/* Variables */
:root {
    --primary: #0066FF;
    --secondary: #FF3366;
    --accent: #00C9FF;
    --dark: #696969;
    --light: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    --border: #E0E0E0;
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    width: 100%;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    text-decoration: none;
    color: var(--black);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}

.tagline {
    font-size: 13px;
    color: var(--dark);
    font-weight: 400;
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .tagline {
        font-size: 11px;
    }
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-list a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    .nav-list.active {
        max-height: 500px;
    }
    
    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }
    
    .nav-list > li > a,
    .dropdown-toggle {
        padding: 16px 0;
        display: block;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--light);
        border-radius: 0;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 8px 0;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        margin-left: 20px;
        font-size: 14px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-fullheight {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Floating Images */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-floating-img {
    position: absolute;
    height: 100%;
    width: auto;
    min-width: 500px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: transform, opacity;
}

.hero-floating-img.active {
    opacity: 0.5;
}

@keyframes scrollLeft1 {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    85% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(-100vw) rotate(-5deg);
        opacity: 0;
    }
}

@keyframes scrollLeft2 {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    85% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(-120vw) rotate(3deg);
        opacity: 0;
    }
}

@keyframes scrollLeft3 {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    85% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(-110vw) rotate(-3deg);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .hero-floating-img {
        height: 80%;
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
        min-height: 500px;
    }
    
    .hero-fullheight {
        min-height: 100vh;
        padding: 100px 0 80px;
    }
    
    .hero-content h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-floating-img {
        height: 70%;
        min-width: 280px;
        opacity: 0 !important;
    }
    
    .hero-floating-img.active {
        opacity: 0.35 !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 50px;
        min-height: 450px;
    }
    
    .hero-content h2 {
        font-size: 26px;
        letter-spacing: -1px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .hero-floating-img {
        height: 60%;
        min-width: 220px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.gallery-header, .gallery-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
}

.gallery-header h1, .gallery-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.gallery-header p, .gallery-hero p {
    font-size: 18px;
    color: var(--dark);
}

/* Masonry Grid */
.masonry-grid {
    column-count: 3;
    column-gap: 30px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
    break-inside: avoid;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: translateY(-4px);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-caption {
    padding: 16px;
    background: var(--white);
}

.masonry-caption h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 24px;
    }
}

@media (max-width: 640px) {
    .masonry-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .masonry-item {
        margin-bottom: 24px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img, .lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 30px 20px 20px;
}

.lightbox-caption h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-copy {
    opacity: 0.6;
    font-size: 14px;
}

/* About & Contact */
.about-section, .contact-section {
    padding: 100px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 24px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,255,0.3);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
