/*
Theme Name: LGS Akademi
Description: Lise Giriş Sınavı Hazırlık Kursu Teması
Version: 1.0.3
*/

/* ===== ACİL ÇÖZÜM - DESKTOP VIEW FIX ===== */
* {
    box-sizing: border-box !important;
}

html, body {
    width: 100vw !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FORCE DESKTOP LAYOUT */
@media (min-width: 768px) {
    .hero-section {
        width: 100% !important;
        max-width: none !important;
        padding: 8rem 0 !important;
    }
    
    .hero-section .max-w-7xl {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 0 2rem !important;
    }
    
    .hero-section .grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem !important;
        align-items: center !important;
    }
    
    .hero-section .order-1 {
        order: 1 !important;
        width: 100% !important;
    }
    
    .hero-section .order-2 {
        order: 2 !important;
        width: 100% !important;
    }
    
    .hero-section h1 {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-section p {
        font-size: 1.25rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2.5rem !important;
    }
    
    .hero-section .flex-col {
        flex-direction: row !important;
        gap: 1.5rem !important;
    }
    
    .hero-section a {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
        white-space: nowrap !important;
    }
    
    .hero-section .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .hero-section .grid-cols-3 .text-xl {
        font-size: 2rem !important;
    }
    
    .hero-section .grid-cols-3 .text-xs {
        font-size: 1rem !important;
    }
}

/* LARGE DESKTOP */
@media (min-width: 1024px) {
    .hero-section .max-w-7xl {
        padding: 0 3rem !important;
    }
    
    .hero-section .grid {
        gap: 6rem !important;
    }
    
    .hero-section h1 {
        font-size: 4rem !important;
    }
    
    .hero-section p {
        font-size: 1.375rem !important;
    }
}

/* EXTRA LARGE DESKTOP */
@media (min-width: 1280px) {
    .hero-section .max-w-7xl {
        max-width: 1400px !important;
        padding: 0 4rem !important;
    }
    
    .hero-section h1 {
        font-size: 4.5rem !important;
    }
}

/* FORM FIX FOR DESKTOP */
@media (min-width: 768px) {
    .hero-section .bg-opacity-10 {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(10px) !important;
        padding: 3rem !important;
        border-radius: 1.5rem !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .hero-section .bg-opacity-10 h3 {
        font-size: 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-section .bg-opacity-10 input,
    .hero-section .bg-opacity-10 select {
        padding: 1rem 1.25rem !important;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-section .bg-opacity-10 button {
        padding: 1.25rem !important;
        font-size: 1.1rem !important;
        margin-top: 1rem !important;
    }
}

/* MOBILE ONLY STYLES */
@media (max-width: 767px) {
    .hero-section {
        padding: 4rem 0 !important;
    }
    
    .hero-section .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .hero-section .order-1 {
        order: 2 !important;
    }
    
    .hero-section .order-2 {
        order: 1 !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-section .flex-col {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-section a {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        text-align: center !important;
    }
}

/* SECTION SPACING */
section {
    width: 100% !important;
    max-width: 100% !important;
}

.container, .max-w-7xl {
    width: 100% !important;
    margin: 0 auto !important;
}

@media (min-width: 768px) {
    .container, .max-w-7xl {
        max-width: 1280px !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (min-width: 1280px) {
    .container, .max-w-7xl {
        max-width: 1400px !important;
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

/* OTHER SECTIONS FIX */
@media (min-width: 768px) {
    .py-16 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    
    .py-12 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .py-20 {
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
    }
    
    .grid.md\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .grid.md\\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .grid.md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid.lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* HEADER FIX */
@media (min-width: 768px) {
    header .container {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 0 2rem !important;
    }
    
    header nav {
        display: flex !important;
    }
    
    header .lg\\:hidden {
        display: none !important;
    }
}

/* FOOTER FIX */
@media (min-width: 768px) {
    footer .grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* BASIC UTILITIES */
.grid { display: grid !important; }
.flex { display: flex !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }

.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }

.text-center { text-align: center !important; }
.font-bold { font-weight: 700 !important; }
.font-medium { font-weight: 500 !important; }

.text-white { color: white !important; }
.text-gray-900 { color: #111827 !important; }
.text-gray-600 { color: #4B5563 !important; }

.bg-white { background-color: white !important; }
.bg-opacity-10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-opacity-80 { background-color: rgba(255, 255, 255, 0.8) !important; }

.backdrop-blur-sm { backdrop-filter: blur(4px) !important; }

.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-button { border-radius: 12px !important; }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

.transition-all { transition: all 0.3s ease !important; }
.hover\\:scale-105:hover { transform: scale(1.05) !important; }

.relative { position: relative !important; }
.absolute { position: absolute !important; }
.z-10 { z-index: 10 !important; }

.w-full { width: 100% !important; }
.h-full { height: 100% !important; }

.space-y-4 > * + * { margin-top: 1rem !important; }

/* MOBILE MENU */
#mobileMenu {
    background: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* ANIMATIONS */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-pulse { animation: pulse 2s infinite; }

/* FINAL OVERRIDE */
@media (min-width: 768px) {
    .hero-section .grid > div {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* HEADER MENU FIX - Bu kodu style.css'e ekleyin */

/* Desktop Menu Display Fix */
@media (min-width: 768px) {
    header nav {
        display: flex !important;
        align-items: center !important;
        gap: 2rem !important;
    }
    
    header .hidden.md\\:flex {
        display: flex !important;
    }
    
    header .md\\:hidden {
        display: none !important;
    }
}

/* Menu Items Styling */
header nav a {
    color: #374151 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

header nav a:hover {
    color: #15B8A6 !important;
}

/* Primary Color Definition */
.text-primary, 
header nav a.text-primary {
    color: #15B8A6 !important;
}

.bg-primary {
    background-color: #15B8A6 !important;
}

/* Logo Styling */
.font-\\[\'Pacifico\'\\] {
    font-family: 'Pacifico', cursive !important;
}

/* Button Styling */
.rounded-button {
    border-radius: 12px !important;
}

/* Mobile Menu */
@media (max-width: 767px) {
    header .md\\:hidden {
        display: flex !important;
    }
    
    header .hidden.md\\:flex {
        display: none !important;
    }
}

/* Mobile Menu Content */
#mobileMenu {
    background: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    z-index: 50 !important;
}

#mobileMenu a {
    display: block !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    color: #6B7280 !important;
}

#mobileMenu a:hover {
    color: #15B8A6 !important;
}

/* Header Container */
header .container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 768px) {
    header .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Space Between Menu Items */
.space-x-8 > * + * {
    margin-left: 2rem !important;
}

/* Flex Utilities */
.flex {
    display: flex !important;
}

.items-center {
    align-items: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

/* Hidden/Display Classes */
.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .md\\:flex {
        display: flex !important;
    }
    
    .md\\:hidden {
        display: none !important;
    }
}

/* Z-Index Fix */
header {
    z-index: 50 !important;
}

.z-50 {
    z-index: 50 !important;
}

/* Sticky Header */
.sticky {
    position: sticky !important;
    top: 0 !important;
}

/* White Background */
.bg-white {
    background-color: white !important;
}

/* Shadow */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}
