/* ============================================================
   RESET AND BASE STYLES
   ============================================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    height: 100vh;
    background-color: #000;
    color: #fff;
}

/* ============================================================
   NAVIGATION BAR - DESKTOP/LAPTOP
   ============================================================ */

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    height: 75px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 45%;
    transform: translateX(-50%);
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* ============================================================
   SPLIT SCREEN LAYOUT - DESKTOP/LAPTOP
   ============================================================ */

/* Split Screen Container */
.split-container {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
}

/* Vertical Text in Center */
.vertical-text {
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    z-index: 100;
    letter-spacing: 0.3em;
    text-transform: lowercase;
    pointer-events: none;
}

.split-side {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Left Side Layout */
.left-side {
    flex-direction: column;
    align-items: stretch;
}

.beige-section {
    height: 75px;
    background-color: #e3cbb3;
    width: 100%;
}

.logo-large {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.image-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-section .side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Right Side */
.right-side .side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================================
   BUTTONS & INTERACTIVE ELEMENTS - DESKTOP/LAPTOP
   ============================================================ */

/* Instagram Button */
.instagram-button {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 50;
    letter-spacing: 0.05em;
}

.instagram-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Info */
.contact-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 50;
}

.contact-link {
    display: inline-block;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.contact-link:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.contact-label {
    display: none;
}

.contact-value {
    color: #fff;
    font-weight: 400;
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================================
   NAVIGATION ARROWS - DESKTOP/LAPTOP
   ============================================================ */

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.left-arrow {
    left: 20px;
}

/* ============================================================
   RESPONSIVE DESIGN - MOBILE & TABLET DEVICES
   ============================================================ */

/* --------------------------------------------------
   TABLETS & MOBILE (Max Width: 768px)
   -------------------------------------------------- */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0 1.5rem;
        height: 60px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .nav-brand {
        font-size: 0.9rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .nav-links {
        gap: 1rem;
        left: 50%;
        font-size: 0.85rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    /* Split Container - Stack vertically */
    .split-container {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .split-side {
        width: 100%;
        min-height: 50vh;
        flex: none;
    }
    
    /* Left Side */
    .left-side {
        min-height: 50vh;
    }
    
    .beige-section {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-large {
        height: 50px;
    }
    
    .image-section {
        min-height: calc(50vh - 60px);
    }
    
    /* Right Side */
    .right-side {
        min-height: 50vh;
    }
    
    /* Vertical Text - Adjust for mobile */
    .vertical-text {
        font-size: 2rem;
        left: 50%;
        top: 50%;
        letter-spacing: 0.2em;
    }
    
    /* Navigation Arrows */
    .nav-arrow {
        font-size: 2rem;
        width: 45px;
        height: 45px;
    }
    
    .left-arrow {
        left: 10px;
    }
    
    .right-arrow {
        right: 10px;
    }
    
    /* Instagram Button */
    .instagram-button {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Contact Info */
    .contact-info {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .contact-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    /* Disable hover effects on mobile */
    .image-section:hover .side-image {
        transform: none;
    }
}

/* --------------------------------------------------
   SMALL PHONES (Max Width: 480px)
   -------------------------------------------------- */
@media (max-width: 480px) {
    /* Body - Remove overflow hidden for scrolling */
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Navigation - Compact and Clean */
    .navbar {
        padding: 0 1rem;
        height: 50px;
        background: rgba(227, 203, 179, 0.95);
        flex-wrap: nowrap;
    }
    
    .nav-brand {
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .logo {
        height: 40px;
    }
    
    /* Hide or stack navigation links to prevent overlap */
    .nav-links {
        gap: 0.5rem;
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    /* Split Container - Full vertical stack */
    .split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .split-side {
        min-height: 50vh;
        width: 100%;
        position: relative;
    }
    
    /* Left Side - Optimized spacing */
    .left-side {
        min-height: 50vh;
    }
    
    .beige-section {
        height: 45px;
        padding: 0 1rem;
    }
    
    .logo-large {
        height: 35px;
    }
    
    .image-section {
        min-height: calc(50vh - 45px);
    }
    
    /* Right Side */
    .right-side {
        min-height: 50vh;
    }
    
    /* Vertical Text - Reposition to avoid overlap */
    .vertical-text {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
        left: 50%;
        top: 25%;
        opacity: 0.6;
        z-index: 5;
    }
    
    /* Navigation Arrows - Smaller and repositioned */
    .nav-arrow {
        font-size: 1.3rem;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .left-arrow {
        left: 8px;
        bottom: 50%;
        top: auto;
        transform: translateY(50%);
    }
    
    .right-arrow {
        right: 8px;
        bottom: 50%;
        top: auto;
        transform: translateY(50%);
    }
    
    .nav-arrow:hover {
        transform: translateY(50%) scale(1.05);
    }
    
    /* Instagram Button - Better positioning */
    .instagram-button {
        bottom: 1.5rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        border-radius: 20px;
        white-space: nowrap;
    }
    
    /* Contact Info - Prevent overlap */
    .contact-info {
        bottom: 1.5rem;
        left: 1rem;
        max-width: calc(100% - 180px);
    }
    
    .contact-link {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: inline-block;
    }
    
    .contact-label {
        display: none;
    }
    
    .contact-value {
        font-size: 0.65rem;
    }
    
    /* Adjust split sides for better mobile experience */
    .split-side {
        min-height: 45vh;
    }
    
    .left-side {
        min-height: 45vh;
    }
    
    .right-side {
        min-height: 45vh;
    }
    
    .image-section {
        min-height: calc(45vh - 45px);
    }
    
    /* Ensure images don't cause overflow */
    .side-image {
        object-fit: cover;
        max-width: 100%;
        height: 100%;
    }
}

/* --------------------------------------------------
   MOBILE LANDSCAPE ORIENTATION
   -------------------------------------------------- */
@media (max-width: 768px) and (orientation: landscape) {
    .split-container {
        flex-direction: row;
    }
    
    .split-side {
        min-height: 100vh;
        width: 50%;
    }
    
    .left-side,
    .right-side {
        min-height: 100vh;
    }
    
    .vertical-text {
        font-size: 2.5rem;
    }
    
    .navbar {
        height: 50px;
    }
    
    .beige-section {
        height: 50px;
    }
}

/* ============================================================
   SMOOTH TRANSITIONS & ANIMATIONS
   ============================================================ */

/* Smooth Transitions */
.split-side {
    transition: all 0.5s ease;
}

.side-image {
    transition: transform 0.3s ease;
}

.image-section:hover .side-image {
    transform: scale(1.05);
}