/* CSS Reset & Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3385d6;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section__title.center {
    text-align: center;
    margin-bottom: 50px;
}

.section__description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: var(--primary-color);
    color: #fff;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn--text {
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.btn--text:hover {
    color: var(--primary-dark);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__item--dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 10px;
}

.nav__item--dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('resimler/slider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.18);
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.hero__title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__buttons .btn--primary {
    background: #fff;
    color: var(--primary-color);
}

.hero__buttons .btn--primary:hover {
    background: var(--bg-light);
}

.hero__buttons .btn--outline {
    border-color: #fff;
    color: #fff;
}

.hero__buttons .btn--outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Featured Products */
.featured {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.featured__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.featured__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.featured__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.featured__content {
    padding: 30px;
}

.featured__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.featured__text {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* About Preview */
.about-preview {
    background: #fff;
}

.about-preview__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-preview__text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stats__item {
    text-align: center;
}

.stats__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stats__label {
    font-size: 16px;
    color: var(--text-light);
}

/* Features */
.features {
    background: var(--bg-light);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature__card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.feature__icon svg {
    color: #fff;
}

.feature__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature__text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Products */
.products {
    background: #fff;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.product__content {
    padding: 25px;
}

.product__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product__text {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    position: relative;
}

.testimonials__slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial__card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial__stars {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial__text {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial__author strong {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial__author span {
    color: var(--text-light);
    font-size: 14px;
}

.slider__controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider__btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* About */
.about {
    background: #fff;
}

.about__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about__lead {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

.about__content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about__content p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}


/* Contact */
.contact {
    background: var(--bg-light);
}

.contact__header {
    text-align: center;
    margin-bottom: 60px;
}

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

.contact__subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact__item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__icon svg {
    color: #fff;
}

.contact__label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact__value {
    color: var(--text-light);
    line-height: 1.6;
}

.contact__value:hover {
    color: var(--primary-color);
}


/* Map */
.map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map iframe {
    display: block;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.footer__text {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer__subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Mobile Action Buttons */
.mobile-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
    padding: 15px;
    gap: 15px;
    z-index: 999;
}

.mobile-action__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-action__btn--phone {
    background: var(--primary-color);
    color: #fff;
}

.mobile-action__btn--phone:hover {
    background: var(--primary-dark);
}

.mobile-action__btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.mobile-action__btn--whatsapp:hover {
    background: #20BA5A;
}

.mobile-action__btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding: 80px 30px 30px;
        transition: var(--transition);
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav__item--dropdown.active .dropdown {
        max-height: 500px;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .testimonials__slider {
        grid-template-columns: 1fr;
    }

    .contact__info-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .featured__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-actions {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .scroll-top {
        bottom: 100px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section__title {
        font-size: 28px;
    }

    .hero__title {
        font-size: 32px;
    }

    .mobile-action__btn span {
        font-size: 14px;
    }
}
