/*
===========================================
ARISTON SERVİSİ - KURUMSAL MODERN CSS
Version: 2.0
Responsive, SEO-Friendly, Corporate Design
===========================================
*/

:root {
    /* Corporate Color Palette */
    --primary-color: #0066cc;
    --secondary-color: #003d7a;
    --accent-color: #ff6b00;
    --success-color: #28a745;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============ GLOBAL RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

/* ============ MODERN HEADER ============ */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.top-bar-head {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: var(--spacing-xs) 0;
}

.top-bar-head a,
.top-bar-head p {
    color: white !important;
    font-size: 0.9rem;
}

.logo-header img {
    max-height: 60px;
    width: auto;
    transition: var(--transition-normal);
}

.logo-header:hover img {
    transform: scale(1.05);
}

/* Modern Navigation */
.mainmenu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.mainmenu li a {
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition-fast);
}

.mainmenu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: var(--transition-normal);
}

.mainmenu li a:hover::after,
.mainmenu li.current_page_item a::after {
    width: 80%;
}

.mainmenu li a:hover,
.mainmenu li.current_page_item a {
    color: var(--primary-color);
}

/* ============ MODERN BUTTONS ============ */
.btn-corporate {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-corporate-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-corporate-outline:hover {
    background: var(--primary-color);
    color: white !important;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #ff8534);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #ff8534, var(--accent-color));
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0,61,122,0.95), rgba(0,102,204,0.9));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

/* ============ MODERN CARDS ============ */
.card-corporate {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

.card-corporate:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.card-corporate h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.card-corporate p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============ FEATURES SECTION ============ */
.features-modern {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-color), #ff8534);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* ============ SECTION TITLES ============ */
.section-title-modern {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title-modern .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.section-title-modern h2 {
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title-modern h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ============ FOOTER MODERN ============ */
.footer-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-modern h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-modern p,
.footer-modern li,
.footer-modern a {
    color: rgba(255,255,255,0.8);
}

.footer-modern a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ============ CONTACT INFO ============ */
.contact-info-modern {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.contact-item:hover {
    background: var(--primary-color);
    color: white;
}

.contact-item:hover * {
    color: white !important;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ GOOGLE MAPS ============ */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .hero-section {
        min-height: 50vh;
        padding: var(--spacing-lg) 0;
    }
    
    .mainmenu {
        flex-direction: column;
        gap: 0;
    }
    
    .card-corporate {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
    }
    
    .section-title-modern {
        margin-bottom: var(--spacing-lg);
    }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============ UTILITY CLASSES ============ */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.bg-white { background-color: var(--bg-white) !important; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.py-5 { padding: var(--spacing-xl) 0; }

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* ============ LOADING STATES ============ */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============ SEO & 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 states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

