/* ==========================================================================
   TekneMülküm Premium CSS
   ========================================================================== */

/* Variables */
:root {
    /* Color Palette */
    --color-primary: #0f2b46;
    /* Deep Navy */
    --color-secondary: #0077b6;
    /* Ocean Blue */
    --color-accent: #00b4d8;
    /* Light Blue */
    --color-highlight: #90e0ef;
    /* Sky Blue */

    --color-dark: #0a1128;
    /* Midnight */
    --color-dark-alt: #1a2f4c;
    /* Slate */
    --color-light: #f8f9fa;
    /* Off White */
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 43, 70, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Base Safari/Mobile Adjustments */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    color: var(--color-primary);
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 900px;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-slate {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.bg-slate p {
    color: rgba(255, 255, 255, 0.8);
}

.bg-slate h2,
.bg-slate h3,
.bg-slate h4 {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.bg-slate .btn-primary {
    background-color: var(--color-accent);
}

.bg-slate .btn-primary:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-gray-light);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
}

header.scrolled .nav-links a {
    color: var(--color-primary);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

header.scrolled .mobile-menu-btn {
    color: var(--color-primary);
}

/* Hero Section / Slider */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    height: 105%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 43, 70, 0.8) 0%, rgba(2, 132, 199, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .highlight {
    color: var(--color-highlight);
    font-style: italic;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
    margin-bottom: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Sections General */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 119, 182, 0.1);
    color: var(--color-secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-highlight);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-title span {
    color: var(--color-secondary);
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Nedir Section */
.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text .lead {
    font-size: 1.25rem;
    color: var(--color-primary);
    line-height: 1.7;
}

.highlight-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 500;
    font-style: italic;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    transition: var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Kullanım Section */
.season-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.season-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.season-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.season-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.months {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.months span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-note {
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.info-note p {
    margin: 0;
    color: var(--color-highlight);
    font-size: 1.05rem;
}

/* Operasyon Section */
.split-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.split-box {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-light);
    transition: var(--transition-normal);
}

.split-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.box-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 119, 182, 0.1);
    color: var(--color-secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.intro-p {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gray);
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--color-secondary);
}

.conclusion {
    font-weight: 500;
    color: var(--color-primary);
    border-top: 1px solid var(--color-gray-light);
    padding-top: 1.5rem;
    margin-bottom: 0;
}

/* Maliyet Section */
.cost-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    margin-bottom: 4rem;
}

.cost-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cost-header h2 {
    color: var(--color-white);
    margin: 0;
    font-size: 2.2rem;
}

.cost-body {
    padding: 4rem 3rem;
    flex: 1.5;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-tag {
    display: flex;
    align-items: flex-start;
    color: var(--color-secondary);
    margin: 1rem 0;
}

.price-tag .currency {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
}

.price-tag .amount {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.cost-desc {
    font-size: 1.1rem;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-light);
}

/* Guarantees */
.guarantee-section {
    display: flex;
    gap: 2rem;
    background: #f0f7f4;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #d8ebde;
}

.guarantee-icon {
    font-size: 3rem;
    color: #2a9d8f;
}

.guarantee-content h3 {
    color: #264653;
    margin-bottom: 1rem;
}

.example-box {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid #2a9d8f;
}

.example-label {
    font-weight: 700;
    color: #2a9d8f;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.example-box p {
    margin: 0;
    color: var(--color-primary);
}

/* Timeline */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-content {
    position: relative;
    padding-left: 3rem;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(15, 43, 70, 0.1);
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--color-white);
}

.step-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-text p {
    margin: 0;
}

/* Footer CTA */
.footer-cta {
    padding: 8rem 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.check-list-large {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.check-list-large li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list-large li i {
    color: var(--color-accent);
    font-size: 1.3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-glass);
}

.logo-small img {
    height: 60px;
    border-radius: 8px;
    margin: 0 auto 1.5rem auto;
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.glass-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--color-dark);
    color: var(--color-gray-light);
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-gray-light);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-copy {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* Patterns */
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pattern-bg-light {
    background-color: var(--color-light);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f2b46' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Animations */
.scroll-anim {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-anim.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up {
    transform: translateY(40px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {

    .intro-container,
    .split-boxes,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .cost-card {
        flex-direction: column;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
        background: var(--color-primary);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-normal);
        padding: 2rem;
        box-sizing: border-box;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    header.scrolled .nav-links a {
        color: var(--color-white);
    }

    .mobile-menu-btn {
        display: block;
    }

    .season-cards {
        grid-template-columns: 1fr;
    }

    .check-list-large {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .guarantee-section {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }
}