/* ========================================
   SAĞLAM SU - Main Stylesheet
   Professional Water Sales Website
   ======================================== */

/* ---- CSS Variables ---- */
:root {
    /* Colors */
    --blue-deep: #062A4E;
    --blue-dark: #0A4D8C;
    --blue-main: #1A7FD4;
    --blue-medium: #4DB8E8;
    --blue-light: #E8F4FD;
    --blue-ice: #F0F8FF;
    --accent: #00BCD4;
    --accent-light: #E0F7FA;
    --white: #ffffff;
    --text-dark: #0D2137;
    --text-body: #3A4F65;
    --text-muted: #6B8299;
    --border-light: rgba(26, 127, 212, 0.08);
    --shadow-sm: 0 2px 12px rgba(10, 77, 140, 0.06);
    --shadow-md: 0 8px 32px rgba(10, 77, 140, 0.1);
    --shadow-lg: 0 16px 48px rgba(10, 77, 140, 0.12);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #062A4E 0%, #0A4D8C 30%, #1A7FD4 70%, #4DB8E8 100%);
    --gradient-text: linear-gradient(135deg, #1A7FD4, #00BCD4);
    --gradient-card: linear-gradient(180deg, var(--white) 0%, var(--blue-ice) 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Utility Classes ---- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #4DB8E8, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding: 6px 20px;
    background: var(--accent-light);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 127, 212, 0.35);
}

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

.btn-outline:hover {
    background: var(--blue-main);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--blue-light);
    color: var(--blue-main);
    padding: 12px 24px;
}

.btn-ghost:hover {
    background: var(--blue-main);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

/* ---- Scroll Reveal Animations ---- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s var(--ease-smooth);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- HEADER / NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    padding: 16px 0;
    transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.navbar.scrolled .site-logo {
    filter: none;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--blue-main);
}

.navbar.scrolled .nav-phone {
    color: var(--text-dark);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);
}

.nav-brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.3px;
    line-height: 1;
    transition: var(--transition-base);
    white-space: nowrap;
}

.navbar.scrolled .nav-brand-name {
    color: var(--blue-dark);
}

.nav-logo:hover .nav-brand-name {
    color: var(--blue-medium);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

.navbar.scrolled .nav-link:hover::after,
.navbar.scrolled .nav-link.active::after {
    background: var(--blue-main);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition-base);
}

.nav-phone:hover {
    color: var(--white);
}

.nav-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #25D366;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-whatsapp-btn:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger-line {
    background: var(--text-dark);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    bottom: -150px;
    animation: floatUp 15s linear infinite;
}

.bubble-1 { width: 120px; height: 120px; left: 5%; animation-duration: 15s; }
.bubble-2 { width: 80px; height: 80px; left: 15%; animation-duration: 18s; animation-delay: 2s; }
.bubble-3 { width: 150px; height: 150px; right: 8%; animation-duration: 22s; animation-delay: 5s; }
.bubble-4 { width: 60px; height: 60px; right: 20%; animation-duration: 12s; animation-delay: 1s; }
.bubble-5 { width: 100px; height: 100px; left: 40%; animation-duration: 19s; animation-delay: 4s; }
.bubble-6 { width: 40px; height: 40px; left: 50%; animation-duration: 16s; animation-delay: 3s; }

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(-150vh);
        opacity: 0;
    }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #4DB8E8, #00E5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.hero-product-img {
    height: 420px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ring-1 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite 1s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.wave-top {
    position: absolute;
    top: 0;
    bottom: auto;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    top: auto;
}

/* ---- FEATURES SECTION ---- */
.features-section {
    padding: 80px 0 100px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-text);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 127, 212, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blue-main);
    transition: all 0.4s var(--ease-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--blue-main);
    color: var(--white);
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- PRODUCTS SECTION ---- */
.products-section {
    padding: var(--section-padding);
    background: var(--blue-ice);
}

/* Products Slider */
.products-slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
}

.products-swiper {
    padding: 20px 0 65px;
    overflow: hidden;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 5px 14px;
    background: var(--blue-main);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.product-badge.badge-new {
    background: var(--accent);
}

.product-image-wrapper {
    padding: 30px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    height: 220px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--ease-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.product-details {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.product-volume,
.product-type {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--blue-light);
    color: var(--blue-main);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-price::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #1A7FD4, #00BCD4);
    border-radius: 4px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* Swiper Custom Navigation */
.slider-nav-btn {
    color: var(--blue-main);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: var(--blue-main);
    color: var(--white);
}

.slider-nav-btn::after {
    font-size: 1.1rem;
    font-weight: 700;
}

.swiper-slide {
    height: auto;
}

.products-slider-wrapper .swiper-button-prev {
    left: 0px;
}

.products-slider-wrapper .swiper-button-next {
    right: 0px;
}

/* Swiper Water Drop Pagination */
.slider-dots .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--blue-medium);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

.slider-dots .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--blue-main);
    transform: rotate(-45deg) scale(1.3);
}

.products-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.products-cta p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ---- ABOUT SECTION ---- */
.about-section {
    position: relative;
    padding: 140px 0 160px;
    background: var(--gradient-hero);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag {
    background: rgba(0, 188, 212, 0.15);
    color: var(--accent);
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-product-img {
    height: 380px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite 0.5s;
}

/* Water Analysis */
.water-analysis {
    margin-top: 36px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.analysis-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.analysis-item {
    text-align: center;
    padding: 16px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.analysis-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.analysis-unit {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.analysis-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 4px;
}

/* Stat Badge */
.stat-badge {
    position: absolute;
    bottom: -10px;
    right: 0;
    background: var(--accent);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.4);
    z-index: 5;
}

.stat-year {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ---- ADVANTAGES SECTION ---- */
.advantages-section {
    padding: var(--section-padding);
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--gradient-card);
    transition: all 0.4s var(--ease-smooth);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 127, 212, 0.12);
}

.advantage-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.advantage-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- CTA SECTION ---- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #062A4E 0%, #0A4D8C 50%, #1A7FD4 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
    position: relative;
    background: var(--blue-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

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

.footer-list a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.footer-list a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.footer-contact-list svg {
    color: var(--accent);
    flex-shrink: 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- FLOATING WHATSAPP ---- */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.6); }
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-main);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-dark);
    transform: translateY(-4px);
}

/* ============ RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-product-img {
        height: 300px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-product-img {
        height: 280px;
    }

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

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

    .products-slider-wrapper {
        padding: 0 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* CRITICAL FIX: backdrop-filter creates a new CSS containing block,
       which makes position:fixed children (nav-menu) position relative to
       the navbar instead of the viewport. Remove it on mobile. */
    .navbar,
    .navbar.scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        max-height: 85vh;
        background: linear-gradient(195deg, rgba(4, 30, 60, 0.98) 0%, rgba(8, 50, 90, 0.97) 40%, rgba(10, 62, 108, 0.98) 100%);
        backdrop-filter: blur(30px) saturate(1.4);
        -webkit-backdrop-filter: blur(30px) saturate(1.4);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 4px;
        padding: 12px 20px calc(env(safe-area-inset-bottom, 16px) + 24px);
        border-radius: 24px 24px 0 0;
        transform: translateY(100vh);
        visibility: hidden;
        transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1),
                    visibility 0s linear 0.45s;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35),
                    inset 0 1px 0 rgba(77, 184, 232, 0.1);
    }

    .nav-menu::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        margin: 4px auto 16px;
        flex-shrink: 0;
    }

    .nav-menu::after {
        display: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1),
                    visibility 0s linear 0s;
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 18px;
        color: #ffffff !important;
        font-size: 1.05rem;
        font-weight: 700 !important;
        border-radius: 14px;
        letter-spacing: 0.3px;
        transition: all 0.25s ease;
        text-align: left;
        position: relative;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-product-img {
        height: 250px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px 18px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stat-badge {
        right: 5%;
        bottom: -5px;
        padding: 14px 20px;
    }

    .stat-year {
        font-size: 1.4rem;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .back-to-top {
        bottom: 84px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .products-slider-wrapper {
        padding: 0 16px;
    }

    .slider-nav-btn {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

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

    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 16px 20px 24px;
    }

    .product-image-wrapper {
        padding: 20px 16px 16px;
        height: 180px;
    }
}

/* ============ DAMACANA SEÇİM MODALI ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white, #ffffff);
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: relative;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 16px;
}

.modal-title {
    font-size: 1.3rem;
    font-family: var(--font-heading, inherit);
    color: var(--text-dark, #333);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-dark, #333);
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-dark, #333);
}

.modal-option:hover {
    border-color: var(--secondary, #3b82f6);
    background: #f8fbff;
    transform: translateY(-2px);
}

.modal-option.ayranoz {
    border-color: #22c55e;
    background: #f0fdf4;
}

.modal-option.ayranoz:hover {
    background: #dcfce7;
}

.modal-option-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.modal-option-text {
    flex: 1;
}

.modal-option-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.modal-option-desc {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
    }
    .modal-option {
        padding: 12px;
    }
}

/* ============ ENHANCED MOBILE EXPERIENCE ============ */

/* ---- Mobile Menu Overlay Backdrop ---- */
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 1000;
        pointer-events: none;
        transition: background 0.4s ease;
    }

    .mobile-menu-overlay.active {
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        pointer-events: auto;
    }
}

/* ---- Mobile Menu CTA Buttons ---- */
.nav-mobile-cta {
    display: none;
}

/* ---- Touch Feedback for Cards ---- */
@media (hover: none) and (pointer: coarse) {
    .feature-card:active,
    .product-card:active,
    .advantage-item:active {
        transform: scale(0.97);
        opacity: 0.9;
        transition: transform 0.1s ease, opacity 0.1s ease;
    }

    .feature-card:hover,
    .product-card:hover,
    .advantage-item:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .btn:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s ease !important;
    }

    .nav-whatsapp-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .floating-whatsapp:hover {
        transform: none;
    }
}

/* ---- Hover Guard (desktop-only hover effects) ---- */
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

    .product-card:hover .product-img {
        transform: scale(1.08);
    }

    .advantage-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }
}

/* ---- Premium Mobile Menu (768px) ---- */
@media (max-width: 768px) {

    /* ---- Mobile Menu Item Animations ---- */
    .nav-menu .nav-item {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.35s ease,
                    transform 0.35s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.06s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.12s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.18s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.24s; }

    /* ---- Mobile CTA Buttons ---- */
    .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(77, 184, 232, 0.12);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-menu.active .nav-mobile-cta {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.30s;
    }

    .mobile-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        border-radius: 14px;
        font-family: var(--font-heading);
        font-size: 0.88rem;
        font-weight: 600;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    .mobile-cta-phone {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .mobile-cta-phone:active {
        background: rgba(255, 255, 255, 0.14);
        transform: scale(0.97);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .mobile-cta-whatsapp {
        background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
        border: none;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }

    .mobile-cta-whatsapp:active {
        background: linear-gradient(135deg, #1EBE5D 0%, #17a74d 100%);
        transform: scale(0.97);
        box-shadow: 0 2px 12px rgba(37, 211, 102, 0.4);
    }

    /* ---- Mobile Nav Link Active Styles ---- */
    .nav-menu .nav-link:active {
        background: rgba(77, 184, 232, 0.08);
        transform: scale(0.98);
    }

    .nav-menu .nav-link.active {
        color: #ffffff;
        background: linear-gradient(135deg, rgba(77, 184, 232, 0.15) 0%, rgba(0, 188, 212, 0.08) 100%);
        font-weight: 600;
        box-shadow: inset 0 0 20px rgba(0, 188, 212, 0.06),
                    0 2px 12px rgba(0, 188, 212, 0.08);
    }

    .nav-menu .nav-link.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        height: 60%;
        width: 3px;
        background: linear-gradient(180deg, var(--blue-medium, #4DB8E8), var(--accent, #00BCD4));
        border-radius: 3px;
        box-shadow: 0 0 10px rgba(0, 188, 212, 0.5),
                    0 0 20px rgba(0, 188, 212, 0.2);
        animation: activeGlow 2s ease-in-out infinite alternate;
    }

    @keyframes activeGlow {
        0% { box-shadow: 0 0 8px rgba(0, 188, 212, 0.4), 0 0 16px rgba(0, 188, 212, 0.15); }
        100% { box-shadow: 0 0 14px rgba(0, 188, 212, 0.6), 0 0 28px rgba(0, 188, 212, 0.25); }
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    /* Ring/Bubble Overflow Fix */
    .hero-visual {
        overflow: hidden;
    }

    .ring-1 {
        width: 250px;
        height: 250px;
    }

    .ring-2 {
        width: 320px;
        height: 320px;
    }

    .bubble-1 { width: 80px; height: 80px; }
    .bubble-3 { width: 100px; height: 100px; }
    .bubble-5 { width: 70px; height: 70px; }

    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-container {
        gap: 30px;
    }

    /* ---- Premium Hamburger Button ---- */
    .nav-toggle {
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .nav-toggle::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 10px;
        background: transparent;
        transition: background 0.25s ease;
    }

    .nav-toggle:active::before {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar.scrolled .nav-toggle:active::before {
        background: rgba(10, 77, 140, 0.06);
    }

    .nav-toggle.active {
        z-index: 1003;
    }

    .nav-toggle.active .hamburger-line {
        background: var(--blue-dark, #0A4D8C);
    }

    /* Section spacing mobile */
    .features-section {
        padding: 60px 0 70px;
    }

    .about-section {
        padding: 100px 0 120px;
    }

    .cta-section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Footer mobile improvements */
    .footer {
        padding: 50px 0 0;
    }

    .footer-heading {
        margin-bottom: 16px;
    }

    /* Swiper pagination mobile */
    .products-swiper {
        padding: 16px 0 55px;
    }

    /* Products section mobile */
    .products-section {
        padding: 70px 0;
    }
}

/* ---- Small Mobile Enhancements (480px) ---- */
@media (max-width: 480px) {
    .hero-product-img {
        height: 200px;
    }

    .about-product-img {
        height: 220px;
    }

    .ring-1 {
        width: 200px;
        height: 200px;
    }

    .ring-2 {
        width: 260px;
        height: 260px;
    }

    .bubble-1 { width: 60px; height: 60px; }
    .bubble-2 { width: 40px; height: 40px; }
    .bubble-3 { width: 80px; height: 80px; }
    .bubble-4 { width: 35px; height: 35px; }
    .bubble-5 { width: 50px; height: 50px; }
    .bubble-6 { width: 30px; height: 30px; }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons .btn {
        justify-content: center;
    }

    .stat-badge {
        padding: 10px 16px;
    }

    .stat-year {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .advantage-item {
        padding: 24px 20px;
        gap: 16px;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }

    .back-to-top {
        width: 36px;
        height: 36px;
        bottom: 76px;
        right: 16px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .water-analysis {
        padding: 20px 16px;
    }

    .analysis-value {
        font-size: 1.3rem;
    }

    .section-tag {
        font-size: 0.72rem;
        padding: 5px 16px;
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .bubble,
    .hero-product-img,
    .about-product-img,
    .hero-ring {
        animation: none !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        transition-duration: 0.01s !important;
    }

    .floating-whatsapp {
        animation: none !important;
    }
}
