/* 1xBet Turkey - Official Color Scheme */
:root {
    /* Official 1xBet Colors */
    --primary-blue: #003D7A;      /* 1xBet Dark Blue */
    --secondary-blue: #0066CC;    /* 1xBet Light Blue */
    --accent-blue: #1E90FF;       /* Bright Blue */
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --bg-light: #F5F7FA;
    --bg-dark: #0A1929;
    --green: #28A745;             /* Success/Bonus */
    --gold: #FFD700;              /* Premium/VIP */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-blue);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

section h3 {
    font-size: 24px;
    margin: 20px 0 10px;
    color: var(--secondary-blue);
}

/* Grid Layouts */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,61,122,0.15);
}

/* Turkey Banner */
.banner-section {
    padding: 60px 0;
    background: #F5F7FA;
}

.turkey-banner-link {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,61,122,0.2);
    transition: all 0.3s ease;
    max-width: 100%;
}

.turkey-banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,61,122,0.3);
}

.turkey-banner-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.turkey-banner-link:hover img {
    transform: scale(1.02);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

footer p {
    margin: 10px 0;
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 992px) {
    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--primary-blue);
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
        transition: all 0.3s;
    }
    
    nav a:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 20px;
    }
}

/* Responsive Design - Mobile First */

/* Tablet & Medium Devices */
@media (max-width: 992px) {
    /* Hide desktop navigation */
    nav {
        display: none;
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    section h2 {
        font-size: 32px;
    }
    
    section h3 {
        font-size: 22px;
    }
    
    /* Buttons */
    .btn-large {
        padding: 14px 35px;
        font-size: 16px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Typography */
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    section h3 {
        font-size: 20px;
    }
    
    /* Hero section */
    .hero {
        padding: 50px 0;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    /* Grid to single column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 25px;
    }
    
    /* Buttons stack on mobile */
    .hero div[style*="margin-top"] {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Turkey Banner Mobile Optimization */
    .banner-section {
        padding: 30px 0 !important;
    }
    
    .turkey-banner-link {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,61,122,0.15);
    }
    
    .turkey-banner-link:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0,61,122,0.15);
    }
    
    .turkey-banner-link:hover img {
        transform: none;
    }
    
    .turkey-banner-link:active {
        opacity: 0.95;
        transform: scale(0.98);
    }
    
    /* Header */
    .logo img {
        height: 35px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    section h2 {
        font-size: 24px;
    }
    
    section h3 {
        font-size: 18px;
    }
    
    /* Hero */
    .hero {
        padding: 40px 0;
    }
    
    /* Sections */
    section {
        padding: 30px 0;
    }
    
    /* Banner */
    .banner-section {
        padding: 20px 0 !important;
    }
    
    .turkey-banner-link {
        border-radius: 8px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 20px;
    }
    
    /* Logo */
    .logo img {
        height: 30px;
    }
    
    /* Footer */
    footer {
        padding: 30px 0 15px;
        font-size: 14px;
    }
}
