/* ================================
   YILDIZCAM - Modern Professional Design
   ================================ */

/* CSS Variables - Modern System */
:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;

    /* Neutral Colors */
    --secondary-color: #0f172a;
    --text-color: #1e293b;
    --text-light: #475569;
    --text-lighter: #64748b;

    /* Background Colors */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --border-color: #e2e8f0;

    /* Shadows - Soft & Modern */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions - Smooth */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* Section */
.section {
    padding: var(--space-3xl) 0;
}

/* Section Subtitle */
.section__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

/* Section Title */
.section__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.section__title.center {
    text-align: center;
}

/* Section Description */
.section__description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
    line-height: 1.7;
}

/* Buttons - Modern Clean Design */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

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

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

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

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

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

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

.nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9375rem;
    position: relative;
}

.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__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__item--dropdown {
    position: relative;
}

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

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

.dropdown li {
    transition: var(--transition);
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown a:hover {
    color: var(--primary-color);
    background: var(--bg-lighter);
    padding-left: 2rem;
}

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

/* Hero - Modern Clean */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(30, 64, 175, 0.95)),
                url('resimler/yildizcam-hero-slider.jpg') center/cover no-repeat;
    margin-top: var(--header-height);
}

.hero__container {
    max-width: 900px;
}

.hero__content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: var(--space-3xl);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

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

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

/* Featured - Modern Cards */
.featured {
    background: var(--bg-lighter);
}

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

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

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

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

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

.featured__card:hover .featured__image img {
    transform: scale(1.05);
}

.featured__content {
    padding: 2rem;
}

.featured__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

/* Stats - Modern Design */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--space-2xl);
}

.stats__item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stats__number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stats__label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Features - Modern Blue Section */
.features {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
}

.features .section__title {
    color: #fff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: var(--space-2xl);
}

.feature__card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature__card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature__card:hover .feature__icon {
    transform: scale(1.1);
}

.feature__icon svg {
    color: var(--primary-color);
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.feature__text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

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

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: var(--space-2xl);
}

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

.product__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

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

.product__card:hover .product__image img {
    transform: scale(1.05);
}

.product__content {
    padding: 2rem;
}

.product__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

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

.about-preview {
    background: #fff;
}

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

.about-preview__text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

.about__lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    line-height: 1.7;
}

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

.about__content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact - Modern Clean */
.contact {
    background: var(--bg-lighter);
}

.contact__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: var(--space-2xl);
}

.contact__item {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.contact__icon svg {
    color: #fff;
}

.contact__label {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

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

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

/* Map */
.map {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map iframe {
    display: block;
}

/* Footer - Modern */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: var(--space-3xl) 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--space-2xl);
}

.footer__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

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

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

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

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

/* Mobile Actions */
.mobile-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    gap: 1rem;
    z-index: 999;
}

.mobile-action__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.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;
}

/* 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: var(--shadow-xl);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-lighter);
        margin-top: 0.5rem;
        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: 1.5rem;
        right: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero__content {
        padding: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

    .mobile-actions {
        display: flex;
    }

    body {
        padding-bottom: 90px;
    }

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

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

    .section__title {
        font-size: 1.75rem;
    }

    .hero__content {
        padding: 1.5rem;
    }
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
