/* Base Styles & Variables */
:root {
    --primary-navy: #0A0E1A;
    --secondary-navy: #151B2D;
    --copper: #B87333;
    --copper-light: #D48E44;
    --cream: #FAF9F6;
    --slate-text: #94A3B8;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary-navy);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
}

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

.btn-primary:hover {
    background-color: var(--copper-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(184, 115, 51, 0.3);
}

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

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

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

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.6rem 0;
    transition: var(--transition);
    background-color: transparent;
}

.main-header.scrolled {
    background-color: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Logo container */
.logo {
    display: flex;
    align-items: center;
}

/* Logo görseli — clamp(mobil-min, tercih, desktop-maks) */
.logo-img {
    height: clamp(7rem, 10vw + 1rem, 12rem);
    width: auto;
    display: block;
    object-fit: contain;
}


.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.main-nav a:hover {
    color: var(--copper);
    opacity: 1;
}

.btn-whatsapp-header {
    background-color: var(--copper);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 7rem;
    /* Navbar altında yeterli boşluk */
    background: url('images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 14, 26, 0.9) 30%, rgba(10, 14, 26, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.badge {
    display: inline-block;
    background: rgba(184, 115, 51, 0.2);
    border: 1px solid var(--copper);
    color: var(--copper-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero .highlight {
    color: var(--copper);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--copper);
}

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

/* Countdown Section */
.countdown-section {
    background-color: var(--primary-navy);
    padding: 3rem 0;
    position: relative;
    z-index: 11;
}

.countdown-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.countdown-wrapper h3 {
    font-size: 1.5rem;
}

.countdown-display {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-block span {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--copper);
}

.time-block label {
    font-size: 0.75rem;
    color: var(--slate-text);
    letter-spacing: 1px;
}

/* Section Common */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.section-title.light h2 {
    color: var(--white);
}

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

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

/* Process Section */
.process-section {
    background-color: var(--cream);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--copper);
    opacity: 0.2;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
        transform: none;
    }
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--cream);
    border: 4px solid var(--copper);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.timeline-number {
    position: absolute;
    top: 0;
    font-size: 6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--primary-navy);
    opacity: 0.05;
    line-height: 1;
}

.timeline-item:nth-child(odd) .timeline-number {
    right: 50%;
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-number {
    left: 50%;
    margin-left: 2rem;
}

.timeline-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 10;
    margin: 0 2rem;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.timeline-icon {
    position: absolute;
    top: 15px;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -70px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -70px;
}

.timeline-icon img {
    width: 40px;
    opacity: 0.8;
}

/* Livestock Section */
.livestock-section {
    background-color: var(--white);
}

.livestock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.livestock-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.livestock-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.livestock-card:hover .card-image img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-navy);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.card-content {
    padding: 2rem;
}

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

.card-specs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-specs span {
    background: rgba(184, 115, 51, 0.1);
    color: var(--copper);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.cta-text {
    font-size: 0.9rem;
    color: var(--slate-text);
    margin-bottom: 1rem;
}

.card-footer .btn {
    width: 100%;
}

/* Guarantees Section */
.guarantees-section {
    background-color: var(--primary-navy);
    position: relative;
    overflow: hidden;
}

.guarantees-section::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.guarantee-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    color: var(--white);
}

.guarantee-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.g-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.guarantee-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.guarantee-item p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* FAQ Section */
.faq-section {
    background-color: var(--cream);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header:hover {
    background-color: rgba(184, 115, 51, 0.05);
}

.faq-header h3 {
    font-size: 1.15rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--copper);
    transition: var(--transition);
}

.faq-body {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
    opacity: 0;
}

.faq-item.active .faq-body {
    padding-bottom: 1.5rem;
    max-height: 1200px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* FAQ Body içerik stilleri */
.faq-body h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--copper);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.faq-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.35rem 1.5rem;
}

.faq-body ul li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.92rem;
    color: var(--primary-navy);
    line-height: 1.8;
    transition: color 0.2s ease;
}

.faq-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: 700;
    font-size: 0.85rem;
}

.faq-body ul li:hover {
    color: var(--copper);
}

/* Footer */
.main-footer {
    background-color: #05070D;
    padding: 80px 0 30px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--white);
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--copper);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1.2rem;
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.4;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float img {
    width: 35px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .livestock-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .header-cta {
        width: 100%;
    }

    .header-cta .btn {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .hero {
        padding-top: 6rem;
        /* Logo ve navbar için alan */
        height: auto;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2rem;
        margin-top: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .countdown-section {
        padding: 3rem 0;
        border-top: 1px solid var(--glass-border);
    }

    .countdown-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .countdown-display {
        gap: 1.5rem;
        width: 100%;
    }

    .time-block {
        min-width: 60px;
        flex: 1 1 40%;
    }

    .time-block span {
        font-size: 2rem;
    }

    /* Process & Sections stack fixes */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
        margin-bottom: 3rem;
        width: 100% !important;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }

    .timeline-item::after {
        left: 20px;
        transform: none;
    }

    .timeline-number {
        font-size: 2.5rem;
        position: relative;
        left: 0 !important;
        top: -10px;
        margin-bottom: 10px !important;
    }

    .timeline-content {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
    }

    .timeline-icon {
        display: none;
    }

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

    .livestock-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .livestock-card {
        width: 100%;
    }

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

    .guarantee-item {
        padding: 2rem 1.5rem;
    }

    .faq-accordion {
        padding: 0 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 1.5rem auto 0;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Overlay */
#adOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    /* mobil için güvenli alan */
    box-sizing: border-box;
}

/* Reklam kutusu */
#adBox {
    position: relative;
    background: white;
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 420px;
    /* desktop kontrol */
}

/* Görsel */
#adBox img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* X butonu (desktop default) */
#closeAd {
    position: absolute;
    top: 10px;
    right: 10px;
    background: black;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
}



/* 📲 TABLET */
@media (max-width: 768px) {
    #adBox {
        max-width: 90%;
    }
}


/* 📱 MOBİL */
@media (max-width: 480px) {
    #adOverlay {
        padding: 15px;
    }

    #adBox {
        padding: 8px;
        border-radius: 10px;
    }

    /* Mobilde dışarı taşır (daha şık görünüm) */
    #closeAd {
        top: -8px;
        right: -8px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}