:root {
    --primary: #FFB800;
    --primary-hover: #E6A600;
    --dark-bg: #0A0A0B;
    --dark-surface: #141416;
    --dark-surface-2: #1E1E20;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A5;
    --accent: #FF3B30;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(1.5rem + env(safe-area-inset-top)) 5% 1.5rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: calc(1rem + env(safe-area-inset-top)) 5% 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #000;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100dvh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background-image: url('assets/gallery4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.7) 60%, rgba(10,10,11,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: env(safe-area-inset-top);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: max-content;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.5);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 59, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

/* Services */
.services {
    padding: 8rem 5%;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
}

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

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

.card {
    background: var(--dark-surface);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 184, 0, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

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

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Featured Card */
.card-featured {
    padding: 0;
    border: none;
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/gallery2.jpg');
    background-size: cover;
    background-position: center;
}

.card-overlay {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    background: var(--dark-surface-2);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-text h2::after {
    content: '.';
    color: var(--primary);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-features li i {
    color: var(--primary);
    font-size: 1.3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    border: 2px solid rgba(255, 184, 0, 0.2);
}

/* Galeri Bolumu */
.gallery-section {
    padding: 6rem 5%;
    background: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    position: relative;
    border: 2px solid transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(45deg, var(--dark-surface-2), var(--dark-bg));
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.btn-large {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: #000;
}

/* Footer */
footer {
    background: #050505;
    padding: 4rem 5% calc(2rem + env(safe-area-inset-bottom));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-surface);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    text-decoration: none;
    animation: wa-pulse 2s infinite;
}

/* NATIVE BOTTOM SHEET MODAL (PREMIUM) */
.wa-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100dvh; 
    background-color: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    justify-content: center;
    align-items: flex-end; /* Bottom sheet align */
}

.wa-modal.active {
    display: flex;
    animation: fadeInBg 0.3s ease forwards;
}

.wa-modal-content {
    background: var(--dark-surface);
    padding: 2.5rem 2rem calc(2.5rem + env(safe-area-inset-bottom));
    border-radius: 30px 30px 0 0; /* iOS Style rounded top */
    text-align: center;
    width: 100%;
    max-width: 600px;
    border-top: 1px solid rgba(255, 184, 0, 0.2);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    transform: translateY(100%);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
}

/* Grab handle */
.wa-modal-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.wa-modal-content i.fa-spin, .wa-modal-content i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.wa-modal-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    color: var(--text-main);
    font-weight: 700;
}

.wa-modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.wa-modal-content .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
}

.wa-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    margin-top: 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 1rem;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes fadeInBg {
    from { background-color: rgba(0,0,0,0); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
    to { background-color: rgba(0,0,0,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* RESPONSIVE PWA FIXES */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(90px + env(safe-area-inset-top));
        min-height: 750px;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-stats {
        gap: 1rem;
        justify-content: center;
    }
    .hero-content {
        text-align: center;
        margin-top: 0;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    .btn {
        width: 100%;
        padding: 0.9rem;
        font-size: 1.1rem;
    }
    .nav-links, .nav-cta {
        display: none; /* Temiz Navbar */
    }
    .logo {
        width: 100%;
        justify-content: center;
    }
    #navbar {
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: calc(1rem + env(safe-area-inset-top)) 5% 1rem 5%;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
