/* Base & CSS Variables */
:root {
    --primary-color: #0d47a1;
    /* Deep Blue */
    --primary-light: #1976d2;
    /* Lighter Blue */
    --secondary-color: #00bcd4;
    /* Cyan accent */
    --hover-color: #00acc1;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f9ff;
    /* Very soft blue-ish white */
    --white: #ffffff;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #128c7e;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(13, 71, 161, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* WhatsApp specific CTA */
.whatsapp-cta {
    background-color: var(--whatsapp-color);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
    background-color: var(--whatsapp-hover);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(206, 230, 255, 0.3) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media screen and (min-width: 660px) {
    .services-grid .service-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        max-width: 400px;
    }
}

.service-card {
    display: block;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.3s ease-out !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid var(--primary-light);
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: rgba(0, 0, 0, 0.6);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35) !important;
}

.service-icon {
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    /* Restored to original size */
    height: 100px;
    /* Restored to original size */
    background-color: var(--bg-light);
    /* Restored to original soft blue background */
    border-radius: 50%;
    overflow: hidden;
}

.service-icon img {
    max-width: 70%;
    /* Restored to original */
    max-height: 70%;
    /* Restored to original */
    object-fit: contain;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-link {
    color: var(--primary-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* Motivation Section */
.motivation {
    padding: 100px 0;
    background-color: var(--white);
}

.motivation-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.motivation-image {
    flex: 1;
}

.motivation-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.motivation-content {
    flex: 1;
}

.motivation-content h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.motivation-content p {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 30px;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    font-style: normal;
    font-weight: bold;
}

/* Features (Neden Biz) */
.features {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}

.footer-contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-container,
    .motivation-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-list li {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 8px 0;
    }

    header.scrolled {
        padding: 6px 0;
    }

    .header-container {
        min-height: 52px;
        gap: 10px;
    }

    .logo a {
        font-size: 18px;
        gap: 6px;
        white-space: nowrap;
    }

    .logo span {
        display: none;
    }

    .header-logo {
        height: 30px;
        width: auto;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav-menu a {
        font-size: 22px;
    }

    .header-btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .floating-whatsapp svg {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        min-height: 48px;
    }

    .logo a {
        font-size: 16px;
    }

    .header-logo {
        height: 26px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 15px;
    }

    .hero {
        padding: 118px 0 50px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .services,
    .motivation,
    .features {
        padding: 60px 0;
    }

    .service-card {
        padding: 30px 20px;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
    }

    .hero-buttons {
        gap: 15px;
    }

    .hero-buttons a {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
}