/*
Theme Name: Bodrum Su Özel Tasarım V2
Theme URI: https://bodrumtankersu.com
Author: Antigravity AI
Author URI: https://bodrumtankersu.com
Description: Bodrum Tanker Su için en güncel, modern ve hızlı tek sayfalık özel tema.
Version: 2.0
Text Domain: bodrumsu
*/

/* 
  BODRUM SU | CSS STYLESHEET
  Prestigious Blue/Gray Tones & Modern Design
*/

:root {
    /* Colors */
    --clr-navy: #0f172a;        /* Deep Navy */
    --clr-slate: #334155;       /* Slate Gray */
    --clr-gray: #64748b;        /* Muted Gray */
    --clr-light: #f8fafc;       /* Light bg */
    --clr-white: #ffffff;
    
    --clr-ocean: #0ea5e9;       /* Vibrant Ocean Blue */
    --clr-ocean-hover: #0284c7; /* Darker Blue for hover */
    --clr-ice: #e0f2fe;         /* Ice Blue */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --navbar-height: 80px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --box-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-slate);
    background-color: var(--clr-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-gray);
    max-width: 600px;
}

.section-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--clr-ice);
    color: var(--clr-ocean-hover);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-ocean);
    color: var(--clr-white);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    background-color: var(--clr-ocean-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

.btn-white {
    background-color: var(--clr-white);
    color: var(--clr-ocean-hover);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-transparent {
    background-color: rgba(255,255,255,0.1);
    color: var(--clr-white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.btn-transparent:hover {
    background-color: rgba(255,255,255,0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header & Nav */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--clr-navy);
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-img-logo {
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
}

.logo-icon {
    color: var(--clr-ocean);
    width: 28px;
    height: 28px;
}

.logo strong {
    color: var(--clr-ocean);
    font-weight: 700;
}

.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--clr-slate);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-ocean);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--clr-navy);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.btn-icon {
    display: none;
}

@media (min-width: 576px) {
    .btn-icon {
        display: inline-flex;
    }
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--clr-white);
    z-index: 2000;
    padding: 5rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.open {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--clr-navy);
    cursor: pointer;
    padding: 0.5rem;
    background: var(--clr-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: auto;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--clr-navy);
    display: block;
    border-bottom: 1px solid var(--clr-light);
    padding-bottom: 0.5rem;
}

.mobile-contact {
    margin-top: 2rem;
}

.hero-section {
    position: relative;
    min-height: 85vh; /* Slighly taller for better presence */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--navbar-height) + 4rem);
    padding-bottom: 6rem;
    color: var(--clr-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c1220;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: -1;
    image-rendering: -webkit-optimize-contrast;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)); /* Solid overlay for maximum text clarity */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.hero-section h1 {
    color: var(--clr-white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 1.5rem 0;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: var(--clr-white);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

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

.text-white {
    color: var(--clr-white) !important;
}

.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2.5rem;
    margin-top: 1rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    border: 1px solid rgba(255,255,255,0.1);
}


/* References Section */
.border-top {
    border-top: 1px solid rgba(0,0,0,0.05);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin-top: 3rem;
}

.ref-logo {
    width: 100%;
    max-width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--clr-white);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.ref-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    transition: var(--transition);
}

.ref-logo:hover img {
    filter: grayscale(0%) opacity(100%);
}

.ref-logo:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--clr-light);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: var(--clr-slate); /* fallback */
}

/* Image Placeholders with smooth gradients if images don't load */
.img-placeholder {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    background-size: cover;
    background-position: center;
}

#about-img {
    background-image: url('about.jpg');
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--clr-ocean);
    color: var(--clr-white);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    border: 8px solid var(--clr-light);
    font-family: var(--font-heading);
    text-align: center;
    z-index: 2;
}

.exp-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--clr-navy);
}

.list-icon {
    color: var(--clr-ocean);
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--clr-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

#srv-kullanma {
    background-image: url('service_tanker.jpg');
    background-color: var(--clr-slate);
}

#srv-havuz {
    background-image: url('service_pool.jpg');
    background-color: var(--clr-ocean);
}

#srv-santiye {
    background-image: url('service_construction.jpg');
    background-color: #475569;
}

.service-icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--clr-ocean);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 4px solid var(--clr-white);
    z-index: 2;
}

.service-content {
    position: relative;
    padding: 2.5rem 1.5rem 1.5rem;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--clr-ocean), #0284c7);
    color: var(--clr-white);
    text-align: center;
    overflow: hidden;
}

.cta-bg-shape {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.cta-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    color: var(--clr-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--clr-navy);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.footer-desc {
    max-width: 400px;
    line-height: 1.8;
}

.footer-heading {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--clr-ocean);
    margin-top: 5px;
}

.contact-info a {
    color: inherit;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px); /* Reduced movement */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Faster transition (0.5s instead of 0.8s) */
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Scroll Reveal Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--clr-ocean);
    color: var(--clr-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.scroll-top-btn:hover {
    background-color: var(--clr-ocean-hover);
    transform: translateY(-5px) !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}

.float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--clr-white);
}

.whatsapp-btn {
    background-color: #25D366;
}
.whatsapp-btn:hover {
    background-color: #1ebe57;
}

.phone-btn {
    background-color: var(--clr-ocean);
}
.phone-btn:hover {
    background-color: var(--clr-ocean-hover);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        max-height: none;
        padding-top: calc(var(--navbar-height) + 2rem);
        padding-bottom: 3rem;
    }
    .hero-section h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero-content {
        padding: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .features-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .section-padding {
        padding: 4rem 0;
    }
    .about-image {
        min-height: 300px;
    }
    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: -1rem;
        right: -1rem;
        border-width: 5px;
    }
    .exp-number { font-size: 2.25rem; }
    .exp-text { font-size: 0.75rem; }
}
