/* ============================================================
   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-x: hidden;
    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%);
    border-bottom: 1px solid #000;
}

.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;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Vertical Text in Center */
.vertical-text {
    position: fixed;
    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: flex-start;
    justify-content: center;
}

/* ============================================================
   TEAM SECTION - DESKTOP/LAPTOP
   ============================================================ */

/* Left Side - Team Section */
.left-side {
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    background-color: #e3cbb3;
}

.beige-section {
    height: 75px;
    background-color: #e3cbb3;
    width: 100%;
    flex-shrink: 0;
}

.team-section {
    padding: 3rem 2rem;
    color: #000;
}

/* Magazine Introduction */
.magazine-intro {
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
    padding-bottom: 3rem;
    border-bottom: 2px solid #d0b89a;
}

.intro-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #000;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

.team-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.team-member:last-child {
    border-bottom: none;
}

.member-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #000;
}

.member-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

/* ============================================================
   RIGHT SIDE IMAGE - DESKTOP/LAPTOP
   ============================================================ */

/* Right Side */
.right-side {
    position: sticky;
    top: 0;
    height: 100vh;
}

.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;
}

/* ============================================================
   RESPONSIVE DESIGN - TABLETS & MOBILE DEVICES
   ============================================================ */

/* --------------------------------------------------
   TABLETS (Max Width: 1024px)
   -------------------------------------------------- */
@media (max-width: 1024px) {
    .split-container {
        flex-direction: column;
    }
    
    .right-side {
        position: relative;
        height: 50vh;
    }
    
    .vertical-text {
        font-size: 2rem;
    }
    
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --------------------------------------------------
   MOBILE DEVICES (Max Width: 768px)
   -------------------------------------------------- */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .team-section {
        padding: 2rem 1.5rem;
    }
    
    .team-title {
        font-size: 2rem;
    }
    
    .member-image {
        width: 120px;
        height: 120px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
}

/* --------------------------------------------------
   SMALL PHONES (Max Width: 480px)
   -------------------------------------------------- */
@media (max-width: 480px) {
    /* Body - Enable scrolling */
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    /* Navigation - Compact and prevent overlap */
    .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;
    }
    
    /* Navigation links - Compact layout */
    .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;
        min-height: auto;
    }
    
    .split-side {
        width: 100%;
    }
    
    /* Left Side - Team Section */
    .left-side {
        min-height: auto;
        overflow-y: visible;
    }
    
    .beige-section {
        height: 45px;
    }
    
    .team-section {
        padding: 2rem 1rem;
    }
    
    /* Magazine Introduction - Hide on small devices */
    .magazine-intro {
        display: none !important;
    }
    
    .intro-title {
        display: none !important;
    }
    
    .intro-text {
        display: none !important;
    }
    
    /* Hide vertical "slowmo" text on small devices */
    .vertical-text {
        display: none !important;
    }
    
    /* Team Title */
    .team-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }
    
    /* Team Grid - Better spacing */
    .team-grid {
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    /* Team Members - Stack vertically for clarity */
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .member-info {
        width: 100%;
    }
    
    .member-name {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .member-role {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .member-description {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    /* Right Side - Reduced height */
    .right-side {
        position: relative;
        height: 40vh;
        min-height: 300px;
    }
    
    /* 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 with Instagram button */
    .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%;
    }
    
    .contact-value {
        font-size: 0.65rem;
    }
    
    /* Disable hover animations on small screens */
    .team-member:hover {
        transform: none;
    }
    
    .member-image:hover img {
        transform: none;
    }
}

/* ============================================================
   SMOOTH TRANSITIONS & ANIMATIONS
   ============================================================ */

/* Smooth Transitions */
.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateX(10px);
}

.member-image img {
    transition: transform 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.1);
}
