/**
 * E-Ticaret360.net - Custom Styles
 * 
 * @package    E-Ticaret360
 * @version    1.0
 * @description World-class professional stylesheet
 */

/* =====================================================
   ROOT VARIABLES - Corporate Brand Colors
   ===================================================== */
:root {
    /* Primary Gradient - Corporate Identity */
    --gradient-primary: linear-gradient(135deg, #3C1AA7 32%, #481FC7 44%, #5423E7 55%, #5423E7 79%, #3A19A0 100%);
    --gradient-secondary: linear-gradient(90deg, #B508AF 0%, #FF682E 100%);
    --gradient-accent: linear-gradient(90deg, #B80CA9 0%, #FB6234 100%);
    
    /* Brand Colors */
    --color-primary: #5423E7;
    --color-secondary: #3C1AA7;
    --color-accent: #FF682E;
    
    /* Purple Shades */
    --purple-100: #B9CDFF;
    --purple-200: #FFBBA5;
    --purple-300: #D4B9FF;
    --purple-400: #5423E7;
    --purple-500: #3E1AAC;
    --purple-600: #470996;
    --purple-700: #3C1AA7;
    --purple-800: #371998;
    --purple-900: #3A19A0;
    
    /* Pink/Orange Shades */
    --pink-100: #FFF3FC;
    --pink-200: #FFA080;
    --pink-300: #DE62BA;
    --pink-400: #C11997;
    --pink-500: #BE159C;
    --pink-600: #B508AF;
    --pink-700: #B80CA9;
    
    --orange-100: #FFBBA5;
    --orange-200: #FF7D68;
    --orange-300: #FF682E;
    --orange-400: #FB6234;
    --orange-500: #F65C3B;
    
    /* Neutral Colors */
    --gray-50: #FCFCFC;
    --gray-100: #F7F7F7;
    --gray-200: #ECECEC;
    --gray-300: #E8E8E8;
    --gray-400: #D9D9D9;
    --gray-500: #9C9C9C;
    --gray-600: #454545;
    --gray-700: #191919;
    --gray-800: #121217;
    --gray-900: #000000;
    
    /* Background Colors */
    --bg-light: #F7F7F7;
    --bg-white: #FFFFFF;
    --bg-purple-light: #FFF3FC;
    --bg-pink-light: #FFF8F8;
    --bg-gray: #ECECEC;
    
    /* Dark Colors */
    --dark-blue: #02153D;
    --dark-navy: #04104F;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-card: -6px 11px 4px 0px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Z-Index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* =====================================================
   GLOBAL STYLES & RESET
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   CORPORATE GRADIENT BACKGROUNDS
   ===================================================== */
.gradient-primary {
    background: var(--gradient-primary);
}

.gradient-secondary {
    background: var(--gradient-secondary);
}

.gradient-accent {
    background: var(--gradient-accent);
}

/* Header Background */
.header-bg,
.navbar-bg {
    background: var(--gradient-primary);
}

/* Footer Background */
.footer-bg {
    background: var(--gradient-primary);
}

/* Hero/Slider Background */
.hero-bg,
.slider-bg {
    background: var(--gradient-primary);
}

/* =====================================================
   CUSTOM SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-400);
    border-radius: 10px;
    border: 3px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--gray-500);
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =====================================================
   NAVIGATION STYLES
   ===================================================== */
.nav-link {
    position: relative;
    transition: all var(--transition-base);
    cursor: pointer;
}

.nav-link:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.nav-link img {
    transition: transform var(--transition-base);
}

.nav-link:hover img {
    transform: rotate(180deg);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 4px;
}

/* =====================================================
   MEGA MENU STYLES
   ===================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu {
    animation: fadeInDown 0.3s ease-out;
}

.mega-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* =====================================================
   BUTTON STYLES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--dark-navy);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(145, 196, 255, 0.25);
    border: 1px solid var(--dark-navy);
    color: var(--dark-navy);
}

.btn-outline:hover {
    background: var(--dark-navy);
    color: #FFFFFF;
}

/* =====================================================
   CARD STYLES
   ===================================================== */
.card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-gradient {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

.feature-card {
    padding: 30px;
    border-radius: var(--radius-xl);
    border-bottom: 2px solid var(--gray-400);
    background: #FFFFFF;
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

.feature-card:hover {
    background: var(--color-primary);
    color: #FFFFFF;
    transform: translateY(-4px);
}

.feature-card:hover * {
    color: #FFFFFF !important;
}

.price-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* =====================================================
   MODAL STYLES
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal-backdrop);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

/* =====================================================
   FORM STYLES
   ===================================================== */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(84, 35, 231, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-600);
}

.form-error {
    color: #F61530;
    font-size: 12px;
    margin-top: 4px;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-pink {
    background: var(--gradient-accent);
}

.border-gradient {
    border-image: var(--gradient-secondary) 1;
}

.shadow-custom {
    box-shadow: var(--shadow-card);
}

/* Price Strikethrough Effect */
.price-old {
    position: relative;
    display: inline-block;
    color: #A9094C;
}

.price-old::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #A9094C;
    transform: rotate(-9deg);
    transform-origin: center;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

/* =====================================================
   MARQUEE / SCROLLING TEXT
   ===================================================== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--gradient-accent);
}

/* =====================================================
   RESPONSIVE UTILITIES
   ===================================================== */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 24px;
        --spacing-2xl: 32px;
        --spacing-3xl: 48px;
    }
    
    body {
        font-size: 14px;
    }
    
    .mobile-hidden {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000000;
        background: #FFFFFF;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

