/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* CSS VARIABLES */
:root {
    --primary-blue: #1B2E5E;
    --primary-green: #2E7D32;
    --secondary-green: #4CAF50;
    --light-bg: #f5f7fa;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease-in-out;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-green);
    border-radius: 4px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    border: none;
}

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

.btn-primary:hover {
    background-color: #1e5522;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

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

.btn-secondary:hover {
    background-color: #111d3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(27, 46, 94, 0.3);
}

/* HEADER & NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
    padding: 20px 0;
}

header.scrolled {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

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

header.scrolled .logo {
    color: var(--primary-blue);
}

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

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
}

header.scrolled .nav-links li a {
    color: var(--primary-blue);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-green);
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

header.scrolled .hamburger {
    color: var(--primary-blue);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(27, 46, 94, 0.7), rgba(46, 125, 50, 0.7)), url('https://images.unsplash.com/photo-1589923188900-85dae523342b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ABOUT SECTION */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius);
    padding: 20px;
    background-color: var(--white);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
    transform: translateY(-3px);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary-green);
}

.feature-box h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-img img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    /* Performans opt. */
    content-visibility: auto;
}

/* PRODUCTS SECTION */
.products {
    background-color: var(--light-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.product-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.product-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.product-card i {
    font-size: 1.8rem;
    margin: 0 !important;
}

.product-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.product-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-text i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

.product-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    text-transform: uppercase;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.product-list {
    text-align: left;
    margin-bottom: 20px;
}

.product-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-list li:last-child {
    border-bottom: none;
}

/* SERVICES SECTION */
.services {
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-content ul {
    margin-bottom: 20px;
}

.service-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

/* STATS SECTION */
.stats {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* PAYMENT OPTIONS */
.payment {
    background-color: var(--light-bg);
    text-align: center;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.payment-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.payment-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.payment-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.payment-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* GALLERY SECTION */
.gallery {
    background-color: var(--white);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 46, 94, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* CONTACT SECTION */
.contact {
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--primary-green);
    background: rgba(46, 125, 50, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.contact-info-content h4 {
    margin-bottom: 5px;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-info-content a:hover {
    color: var(--primary-green);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* MAP SECTION */
.map-container {
    height: 400px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col h3 span {
    color: var(--primary-green);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact i {
    color: var(--primary-green);
    margin-top: 5px;
}

.footer-contact a {
    color: #ccc;
}

.footer-contact a:hover {
    color: var(--white);
}

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

/* FLOATING WHATSAPP BUTTON */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .logo {
        font-size: 1.4rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: 0.4s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li a {
        color: var(--primary-blue);
        display: block;
        padding: 15px;
    }

    .hamburger {
        display: block;
    }

    header {
        background-color: var(--primary-blue);
        padding: 15px 0;
    }

    header.scrolled {
        background-color: var(--white);
    }

    header .hamburger {
        color: var(--white);
    }

    header.scrolled .hamburger {
        color: var(--primary-blue);
    }

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

    .section-padding {
        padding: 60px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
    
    .service-grid,
    .product-grid,
    .footer-grid,
    .premium-payment-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-info-card,
    .service-content {
        padding: 20px;
    }
    
    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: #e74c3c;
}

.modal-content h3 {
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 15px;
    color: var(--primary-blue);
}

.modal-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-item h4 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.modal-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 24px;
    margin-top: 10px;
}

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

/* PREMIUM PAYMENT STYLES */
.premium-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.premium-payment-card {
    border-radius: var(--border-radius);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.premium-payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.premium-payment-card .card-icon,
.premium-payment-card .card-content {
    position: relative;
    z-index: 2;
}

.premium-payment-card.ziraat {
    background: linear-gradient(135deg, #e31837, #b00f28);
}

.premium-payment-card.denizbank {
    background: linear-gradient(135deg, #00569d, #003b6e);
}

.premium-payment-card .card-icon i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
}

.premium-payment-card h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.highlight-text {
    display: inline-block;
    background-color: #ffd700;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.premium-payment-card p:not(.highlight-text) {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.other-payments-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-blue);
    position: relative;
}

.other-payments-title::before,
.other-payments-title::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #ddd;
    vertical-align: middle;
    margin: 0 15px;
}

.highlight-card {
    border: 2px solid var(--primary-green);
    position: relative;
}

.highlight-card::after {
    content: 'Avantajlı';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .premium-payment-grid {
        grid-template-columns: 1fr;
    }
}