/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (LIGHT MODE EDITION)
   ========================================================================== */
:root {
    /* Color Palette */
    --clr-light-bg: hsl(220, 20%, 97%);
    --clr-light-surface: hsl(0, 0%, 100%);
    --clr-light-border: rgba(0, 0, 0, 0.08);
    
    /* Brand Accent Colors */
    --clr-corap-orange: hsl(28, 95%, 50%);
    --clr-corap-orange-glow: hsla(28, 95%, 50%, 0.15);
    
    --clr-giyim-red: hsl(348, 85%, 43%);
    --clr-giyim-red-glow: hsla(348, 85%, 43%, 0.15);
    
    /* Text Colors */
    --clr-text-primary: hsl(220, 20%, 12%);
    --clr-text-secondary: hsl(220, 12%, 35%);
    --clr-text-muted: hsl(220, 10%, 55%);
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions */
    --transition-panel: all 0.7s cubic-bezier(0.25, 1, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--clr-light-bg);
    color: var(--clr-text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   PORTAL STRUCTURE
   ========================================================================== */
.portal-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.brand-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--clr-text-primary);
    overflow: hidden;
    transition: var(--transition-panel);
}

/* Panel Background & Textures (Light & Clear) */
.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/textile-bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.96) contrast(1.02);
    transform: scale(1.05);
    transition: var(--transition-panel);
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: var(--transition-smooth);
}

/* Bright Soft Orange/Peach Overlay for Öztaş Çorap */
.panel-corap .panel-overlay {
    background: linear-gradient(180deg, rgba(255, 220, 170, 0.78) 0%, rgba(255, 155, 40, 0.88) 100%);
    box-shadow: inset 0 0 100px rgba(255, 115, 0, 0.08);
}

/* Bright Soft Red/Pink Overlay for Öztaş Giyim */
.panel-giyim .panel-overlay {
    background: linear-gradient(180deg, rgba(255, 242, 244, 0.82) 0%, rgba(255, 228, 232, 0.92) 100%);
    box-shadow: inset 0 0 100px rgba(220, 20, 60, 0.05);
}

/* Content Container */
.panel-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-panel);
}

/* ==========================================================================
   LOGO & TYPOGRAPHY
   ========================================================================== */
.logo-wrapper {
    height: 180px;
    width: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.brand-logo {
    height: 110px; /* Enlarge logos equally to make them look uniform and prominent */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-corap {
    filter: drop-shadow(0 4px 8px rgba(255, 140, 0, 0.08));
}

.logo-giyim {
    filter: drop-shadow(0 4px 8px rgba(220, 20, 60, 0.08));
}

.panel-details h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.panel-corap h2 {
    background: linear-gradient(135deg, hsl(220, 20%, 12%) 30%, hsl(215, 95%, 40%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-giyim h2 {
    background: linear-gradient(135deg, hsl(220, 20%, 12%) 30%, var(--clr-giyim-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--clr-text-secondary);
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

/* Action Button */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: #ffffff !important;
    color: #1c1f26 !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.action-btn .arrow {
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   DYNAMIC INTERACTION (HOVER STATES)
   ========================================================================== */

/* 1. Split Panel Expanding Hover */
.brand-panel:hover {
    flex: 1.25;
}

/* 2. Background zoom */
.brand-panel:hover .panel-bg {
    transform: scale(1.1);
    filter: brightness(0.98) contrast(1.04);
}

/* 3. Logo Shadow Lift */
.brand-panel:hover .logo-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.brand-panel:hover .brand-logo {
    transform: scale(1.04);
}

/* 4. Brand Specific Interactive Elements */

/* Öztaş Çorap Hover */
.panel-corap:hover .panel-overlay {
    background: linear-gradient(180deg, rgba(255, 210, 150, 0.72) 0%, rgba(255, 135, 20, 0.88) 100%);
}

.panel-corap:hover .logo-wrapper {
    border-color: rgba(255, 140, 0, 0.2);
}

.panel-corap:hover .action-btn {
    background: var(--clr-giyim-red) !important;
    color: #ffffff !important;
    border-color: var(--clr-giyim-red) !important;
    box-shadow: 0 8px 24px var(--clr-giyim-red-glow);
}

/* Öztaş Giyim Hover */
.panel-giyim:hover .panel-overlay {
    background: linear-gradient(180deg, rgba(255, 235, 238, 0.75) 0%, rgba(255, 215, 222, 0.88) 100%);
}

.panel-giyim:hover .logo-wrapper {
    border-color: rgba(220, 20, 60, 0.2);
}

.panel-giyim:hover .action-btn {
    background: var(--clr-giyim-red) !important;
    color: #ffffff !important;
    border-color: var(--clr-giyim-red) !important;
    box-shadow: 0 8px 24px var(--clr-giyim-red-glow);
}

/* General Arrow movement */
.brand-panel:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .portal-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .brand-panel {
        width: 100%;
        min-height: 50vh;
        flex: none;
    }
    
    .brand-panel:hover {
        flex: none;
    }
    
    .panel-content {
        padding: 3.5rem 1.5rem;
        gap: 1.5rem;
    }
    
    .logo-wrapper {
        width: 360px;
        height: 150px;
        padding: 1.5rem;
    }
    
    .brand-logo {
        height: 90px;
    }
    
    .panel-details h2 {
        font-size: 1.5rem;
    }
    
    .panel-details p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .action-btn {
        padding: 0.8rem 1.75rem;
    }

    .portal-footer {
        position: relative;
        padding: 2.5rem 0;
        width: 100%;
        background: transparent;
        z-index: 10;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   PORTAL FOOTER (BASE & RESPONSIVE POSITIONING)
   ========================================================================== */
.portal-footer {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    text-align: center;
}

@media (min-width: 901px) {
    .portal-footer {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        pointer-events: none;
    }
}
