:root {
    /* Colors */
    --primary: #0a4275; /* Trustworthy navy blue */
    --primary-light: #1664a8;
    --secondary: #ff7a00; /* Energetic orange for CTAs */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    --bg-dark: #f0f4f8; /* Soft light blue/gray background */
    --bg-white: #ffffff;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    /* Variables */
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

h2 span {
    color: var(--secondary);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--whatsapp-dark), var(--whatsapp));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.site-logo {
    height: 98px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Koyu film katmanı */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    color: white; /* Video üzerinde okunabilmesi için beyaz */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
    color: rgba(255, 255, 255, 0.9); /* Video üzerinde okunabilmesi için açık renk */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

/* General Section */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Services Tabs Structure */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    color: var(--secondary);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-btn.active i {
    color: white;
}

.tab-content-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.tab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%; /* Make it fill the tab-image container */
    min-height: 300px; /* Give it a nice height */
    background: #e2e8f0;
    overflow: hidden;
    border-radius: var(--radius-md); /* Add border radius directly to the container */
}

.thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tab-image:hover .thumb-img {
    transform: scale(1.05);
}

.tab-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.tab-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.tab-features {
    list-style: none;
    margin-bottom: 30px;
}

.tab-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.tab-features i {
    color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.tab-image {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Features */
.features {
    background: white;
}

.features-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item {
    background: var(--bg-dark);
    padding: 25px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.feature-item:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.f-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-item:hover .f-icon {
    color: white;
}

.f-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.f-content p {
    font-size: 0.9rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.contact-info {
    padding: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.contact-info h2 {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}

.contact-list strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-list span {
    color: rgba(255, 255, 255, 0.8);
}

.contact-map {
    position: relative;
    min-height: 400px;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

/* Partners (Çalıştığımız Şirketler) */
.partners {
    background: var(--bg-dark);
    padding: 60px 0;
    text-align: center;
}

.partners h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.partner-box {
    background: var(--bg-white);
    padding: 10px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.partner-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: white;
}

/* Ay Assist Section */
.ay-assist {
    background: var(--bg-white);
    padding: 80px 0;
}

.ay-assist-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--secondary);
}

.ay-assist-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ay-assist-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.ay-assist-content h2 span {
    color: var(--secondary);
}

.ay-assist-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.feature-list-check {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list-check li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.feature-list-check li i {
    color: var(--secondary);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

@media (max-width: 992px) {
    .ay-assist-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .feature-list-check li {
        justify-content: center;
    }
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.footer-logo i {
    color: var(--secondary);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: var(--whatsapp-dark);
}

.tooltip-text {
    position: absolute;
    right: 80px;
    background: white;
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.floating-whatsapp:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}



/* Floating 3D Logo */
.floating-3d-logo {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    animation: float3d 4s ease-in-out infinite;
    opacity: 0.9;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.floating-3d-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.floating-3d-logo:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

@keyframes float3d {
    0% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-55%) rotate(5deg); }
    100% { transform: translateY(-50%) rotate(0deg); }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive & Mobile Menu */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: 15px;
}

@media (max-width: 992px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-action .nav-btn {
        display: none;
    }

    .features-wrap {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-3d-logo {
        width: 60px;
        height: 60px;
        left: 15px;
    }
    
    .tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .site-logo {
        height: 65px; /* scale down a bit on small mobile */
    }
}
