:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #facc15;
    --primary-hover: #ca8a04;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.underline {
    height: 4px;
    width: 60px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
    color: #111;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #facc15, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-dark);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,15,0.6) 0%, rgba(10,10,15,1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(250, 204, 21, 0.1);
    color: var(--primary);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #fef08a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.dark-section {
    background-color: rgba(0, 0, 0, 0.3);
}

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

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text b {
    color: white;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-card h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Kral Oran */
.kral-oran-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.kral-text h2 {
    font-size: 3rem;
    background: linear-gradient(to right, #facc15, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.kral-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

.crown-icon {
    width: 120px;
    height: 120px;
    color: var(--primary);
    opacity: 0.8;
    filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.3));
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.box-hover:hover {
    transform: translateY(-10px);
    border-color: rgba(250, 204, 21, 0.3);
    background: rgba(255,255,255, 0.05);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 204, 21, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-link {
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
}

.contact-link:hover {
    color: var(--primary);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.yasal-uyari {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    height: 55px;
    width: 55px;
    padding: 0;
    padding-left: 13.5px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.floating-contact.expanded .float-btn.phone { width: 150px; }
.floating-contact.expanded .float-btn.telegram { width: 170px; }
.floating-contact.expanded .float-btn.whatsapp { width: 175px; }

.floating-contact.expanded .float-btn {
    padding-left: 20px;
}

.float-text {
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-contact.expanded .float-text {
    opacity: 1;
    transition: opacity 0.5s ease 0.3s;
}

.float-btn i, .float-btn svg {
    flex-shrink: 0;
}

.float-btn svg {
    width: 28px;
    height: 28px;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.float-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.float-btn.phone {
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
    color: #111;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

.float-btn i {
    font-size: 28px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive - Pixel Perfect Adaptations */
@media (max-width: 1200px) {
    .container, .nav-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-links, .nav-container > .btn-primary {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .kral-oran-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h4 {
        font-size: 2rem;
    }

    .crown-icon {
        width: 80px;
        height: 80px;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-btn {
        height: 48px;
        width: 48px;
        padding: 0;
        padding-left: 12px;
        font-size: 1rem;
    }

    .floating-contact.expanded .float-btn.phone { width: 135px; }
    .floating-contact.expanded .float-btn.telegram { width: 155px; }
    .floating-contact.expanded .float-btn.whatsapp { width: 160px; }

    .floating-contact.expanded .float-btn {
        padding-left: 16px;
    }

    .float-btn svg, .float-btn i {
        width: 24px;
        height: 24px;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 38px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .kral-oran-content {
        padding: 2rem 1.5rem;
    }
    
    .kral-text h2 {
        font-size: 2.2rem;
    }

    .nav-container, .container {
        padding: 0 1rem;
    }
}
