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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 6rem;
    overflow: hidden;
}

.navigation.dropdown-active {
    height: 100vh;
    align-items: flex-start;
    padding-top: 2rem;
}

.nav-left {
    display: flex;
    gap: 1.5rem;
    transition: opacity 0.3s ease;
}

.navigation.dropdown-active .nav-left {
    opacity: 0;
    pointer-events: none;
}

.navigation.scrolled {
    transform: translateY(-100%);
}

.nav-right {
    display: none;
}

.nav-left {
    display: flex;
    gap: 1.5rem;
}

.nav-button {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.logo {
    position: fixed;
    top: 1rem;
    right: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo.scaled {
    transform: scale(0.95);
}

/* Main content */
.main-content {
    width: 100%;
    position: relative;
    z-index: 1;
    height: 1200vh; /* 12 images * 100vh - creates scrollable area */
    overflow: hidden;
}

.image-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    opacity: 1;
    /* Performance optimizations */
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    /* Hardware acceleration */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    /* Smooth transition for better feel */
    transition: transform 0.1s ease-out;
}

.fullscreen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
    /* Performance optimizations */
    backface-visibility: hidden;
    transform: translateZ(0);
    /* Prevent layout shift during loading */
    min-height: 100vh;
    background: #000;
    /* Hardware acceleration */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    /* Optimize rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Image loading states */
.fullscreen-image.loading {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.fullscreen-image.loaded {
    opacity: 1;
}

.fullscreen-image.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Home button */
.home-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

.home-button.visible {
    opacity: 1;
    transform: translateY(0);
}

    .home-button:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    }

/* Dropdown Panels */
.dropdown-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    /* Prevent scrolling on mobile */
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
}

.dropdown-panel.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.panel-content {
    width: 90%;
    max-width: 600px;
    max-height: 70vh;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    overflow: hidden;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    pointer-events: auto;
    /* Prevent scrolling on mobile */
    -webkit-overflow-scrolling: touch;
}

.dropdown-panel.active .panel-content {
    transform: translateY(0);
    opacity: 1;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.close-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.panel-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

/* Form Styles */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Info Text Styles */
.info-text {
    color: #fff;
    line-height: 1.7;
    font-size: 1rem;
}

.info-text p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.info-text p:last-child {
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .navigation {
        padding: 0.5rem 1rem 1rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        z-index: 1000;
        align-items: center;
    }
    
    .nav-left {
        gap: 0.75rem;
        z-index: 1001;
        position: relative;
        margin-bottom: 0.5rem;
    }
    
    .nav-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        z-index: 1002;
        position: relative;
    }
    
    .logo {
        position: fixed;
        top: 3rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.8rem;
        padding: 0.3rem 1rem;
        z-index: 1000;
    }
    
    .logo.scrolled {
        top: 0.5rem;
    }
    
    .logo.scaled {
        transform: translateX(-50%) scale(0.95);
    }
    
    .panel-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .panel-body {
        padding: 1.5rem;
    }
    
    /* Mobile performance optimizations */
    .image-section {
        /* Optimize for mobile rendering */
        will-change: transform;
        /* Reduce GPU load on mobile */
        transform-style: preserve-3d;
    }
    
    .fullscreen-image {
        /* Optimize for mobile rendering */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* Optimize image rendering on mobile */
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (max-width: 480px) {
    .nav-left {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .home-button {
        bottom: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.5);
}

@media (max-width: 768px) {
    .scroll-indicator {
        right: 1rem;
    }
    
    .scroll-dot {
        width: 6px;
        height: 6px;
    }
} 