﻿/* Base & Variables */
:root {
    --gold: #AF9472;
    --gold-hover: #9c8261;
    --dark-blue: #1B302A;
    --dark-blue-hover: #14241f;
    --light-soft: #f4f6F9;
    --white: #ffffff;
    --font-primary: 'Barlow', sans-serif;
    --font-heading: 'Barlow', sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    color: #333;
    font-size: 20px; /* Increased from 18px to 20px */
    line-height: 1.7;
}

p { font-size: 20px; font-weight: 400; }

h1, .h1 { font-size: 2.8rem; } /* Reduced from 3.2 */
h2, .h2 { font-size: 2.4rem; } /* Reduced from 2.8 */
h3, .h3 { font-size: 2rem; }   /* Reduced from 2.2 */
h4, .h4 { font-size: 1.6rem; } /* Reduced from 1.8 */
h5, .h5 { font-size: 1.3rem; }
h6, .h6 { font-size: 1rem; }

.display-1 { font-size: 4.5rem; font-weight: 800; }
.display-2 { font-size: 4rem; font-weight: 800; }
.display-3 { font-size: 3.5rem; font-weight: 800; }
.display-4 { font-size: 3rem; font-weight: 700; }
.display-5 { font-size: 2.5rem; font-weight: 700; }


/* Wide Layout Adjustment */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1620px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 95% !important;
    }
}

/* Typography Helpers */
.has-playfair {
    font-family: var(--font-heading);
}
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.ls-3 { letter-spacing: 3px; }
.fs-12 { font-size: 14px; }
.fs-13 { font-size: 15px; }
.fs-14 { font-size: 16px; }
.fs-15 { font-size: 18px; }
.fs-16 { font-size: 20px; }
.fs-18 { font-size: 22px; }
.fs-20 { font-size: 24px; }

/* Colors & Backgrounds */
.text-gold { color: var(--gold) !important; }
.text-dark-blue { color: var(--dark-blue) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-dark-blue { background-color: var(--dark-blue) !important; }
.bg-light-soft { background-color: var(--light-soft) !important; }

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
}
.btn-gold:hover {
    background-color: transparent;
    color: var(--gold);
}
.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--white);
}
.btn-dark-blue {
    background-color: var(--dark-blue);
    color: var(--white);
    border: 1px solid var(--dark-blue);
}
.btn-dark-blue:hover {
    background-color: transparent;
    color: var(--dark-blue);
}
.btn-outline-dark-blue {
    background-color: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
}
.btn-outline-dark-blue:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}
.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark-blue) !important;
}

/* Custom Overlays & Utilities */
.transition-all {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-gold:hover { color: var(--gold) !important; }
.hover-text-gold:hover { color: var(--gold) !important; }
.hover-bg-gold:hover {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}
.section-padding { padding: 120px 0; }
.social-links a {
    width: 45px;
    height: 45px;
    text-decoration: none;
}

/* Header */
.site-header {
    background: transparent;
    transition: all 0.5s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Lighter border for light theme */
}
.site-header.scrolled {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom-color: transparent;
}
.site-header .nav-link {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
    padding: 12px 0 !important;
}
.site-header.scrolled .nav-link {
    color: var(--dark-blue);
}
.site-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    width: 100%;
}
.site-header .navbar-brand {
    color: var(--dark-blue);
    font-size: 28px;
    letter-spacing: 2px;
}
.site-header.scrolled .navbar-brand {
    color: var(--dark-blue);
}
.site-header .dropdown-toggle::after {
    display: none !important;
}
.site-header .navbar-brand span {
    color: var(--gold);
}
.custom-toggler {
    padding: 0.25rem 0.5rem;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
}
.custom-toggler:focus {
    box-shadow: none;
}
/* Animated Hamburger */
.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: var(--dark-blue);
    position: absolute;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease, bottom 0.25s ease, background-color 0.25s ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before { top: -8px; }
.hamburger-inner::after { bottom: -8px; }

/* Hamburger Active State */
.navbar-toggler[aria-expanded="true"] .hamburger-inner {
    background-color: transparent !important;
}
.navbar-toggler[aria-expanded="true"] .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* â”€â”€ Premium Dropdown MenÃ¼ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Desktop dropdown - hover ile aÃ§Ä±lÄ±r */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .site-header .dropdown-toggle::after {
        display: none !important; /* Bootstrap ok iÅŸaretini her yerde gizle */
    }
    
    .site-header .nav-item.dropdown > .nav-link {
        padding-right: 18px !important;
    }
    /* Kendiniz ok ekleyin */
    .site-header .nav-item.dropdown > .nav-link .dd-arrow {
        display: inline-block;
        margin-left: 4px;
        font-size: 10px;
        transition: transform 0.3s ease;
        vertical-align: middle;
    }
    .site-header .nav-item.dropdown:hover > .nav-link .dd-arrow {
        transform: rotate(180deg);
    }
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 18, 51, 0.08);
    padding: 10px 0;
    min-width: 240px;
    background: var(--white);
    /* Animasyon iÃ§in baÅŸlangÄ±Ã§ durumu */
    display: block;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    /* Bootstrap'Ä±n show class'Ä± iÃ§in */
}
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown-item {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: #555;
    padding: 10px 24px;
    text-transform: none;
    letter-spacing: 0;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-soft);
    color: var(--dark-blue);
    border-left-color: var(--gold);
}
/* Mobil dropdown dÃ¼zeltmesi */
@media (max-width: 991px) {
    .dropdown-menu {
        box-shadow: none;
        background: var(--light-soft);
        opacity: 1;
        transform: none;
        pointer-events: auto;
        border-left: 3px solid var(--gold);
        margin-left: 16px;
        min-width: auto;
        display: none;
    }
    .dropdown-menu.show {
        display: block;
    }
    .site-header .nav-item.dropdown > .nav-link .dd-arrow {
        display: inline-block;
        margin-left: 4px;
        font-size: 10px;
        transition: transform 0.3s ease;
        vertical-align: middle;
    }
    .site-header .nav-item.dropdown.show > .nav-link .dd-arrow {
        transform: rotate(180deg);
    }
}

/* Hero Section & Slider */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.heroSwiper,
.swiper-wrapper,
.swiper-slide {
    width: 100%;
    max-width: 100%;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Image Wipe Animation Effect (Center to Left Request) */
.image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
}

/* Swiper Active State Animations - Zoom and Pan Left */
@keyframes videoZoomPanLeft {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.12) translateX(3%); }
}

.swiper-slide-active .slide-bg {
    animation: videoZoomPanLeft 6s ease-out forwards;
}

/* Light white fade overlay to ensure text is readable but keeps the image very bright */
.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.slide-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Typography Animations within Slide */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.swiper-slide-active .fade-up {
    opacity: 1;
    transform: translateY(0);
}
.slide-delay-1 { transition-delay: 0.6s; }
.slide-delay-2 { transition-delay: 0.8s; }
.slide-delay-3 { transition-delay: 1.0s; }
.slide-delay-4 { transition-delay: 1.2s; }

/* Slider Controls */
.slider-controls {
    width: 100%;
    padding: 0 40px;
    pointer-events: none;
}
.swiper-button-prev-custom,
.swiper-button-next-custom {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: var(--gold);
    border-color: var(--gold);
}
.swiper-pagination-bullet {
    background: var(--dark-blue);
    opacity: 0.3;
    width: 40px;
    height: 3px;
    border-radius: 0;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
    width: 60px;
}
.hero-section .swiper-pagination {
    bottom: 120px !important;
}
@media (max-width: 991px) {
    .hero-section .swiper-pagination {
        bottom: 50px !important;
    }
}

/* About Section */
.experience-badge {
    bottom: -30px;
    right: -30px;
    z-index: 2;
}
.icon-box-small {
    width: 60px;
    height: 60px;
}

/* Services section */
.service-card {
    border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover {
    background: var(--white) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-10px);
}
.service-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.4s ease;
}
.service-card:hover .service-hover-line {
    width: 100%;
}

/* Projects Section */
.project-card {
    height: 500px;
    cursor: pointer;
    border-radius: 4px;
}
.project-card img {
    transition: transform 0.8s ease;
    height: 100%;
}
.project-card:hover img {
    transform: scale(1.1);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,18,51, 0.9) 0%, rgba(0,18,51, 0) 100%);
    opacity: 1;
    transition: all 0.4s ease;
}
.projectsSwiper {
    padding-bottom: 50px;
}

/* Custom Hover Box Text Inversion */
.custom-hover-box:hover .text-muted,
.custom-hover-box:hover .text-dark-blue {
    color: var(--white) !important;
}
.custom-hover-box:hover .text-gold {
    color: var(--dark-blue) !important;
}
.custom-hover-box:hover .opacity-25 {
    opacity: 0.2 !important;
}

/* Subpage Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--light-soft);
    margin-top: 0;
}
.page-header .bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.1);
    animation: videoZoomPanLeft 12s ease-out forwards;
}
.page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
}
.page-header .container {
    position: relative;
    z-index: 2;
}

/* Forms & Contact */
.form-control, .form-select {
    border-radius: 0;
    padding: 15px 20px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: var(--light-soft);
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--gold);
    background-color: var(--white);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .site-header {
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .site-header .nav-link {
        color: var(--dark-blue);
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .site-header .navbar-brand {
        color: var(--dark-blue);
    }
    .custom-toggler {
        background-color: transparent;
    }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        background-color: var(--dark-blue);
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .slider-controls {
        display: none !important;
    }
    .experience-badge {
        right: 20px;
        bottom: -20px;
    }
}
/* Sidebar & Service Details */
.service-sidebar {
    position: sticky;
    top: 100px;
}
.service-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.service-nav-link:last-child {
    border-bottom: none;
}
.service-nav-link i {
    font-size: 18px;
    color: var(--gold);
    transition: all 0.3s ease;
}
.service-nav-link:hover, 
.service-nav-link.active {
    background-color: var(--dark-blue);
    color: var(--white);
}
.service-nav-link:hover i, 
.service-nav-link.active i {
    color: var(--white);
    transform: translateX(3px);
}

.stat-box {
    padding: 30px;
    transition: all 0.3s ease;
}
.stat-box:hover {
    background-color: var(--light-soft);
}

.rich-text-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.process-steps {
    position: relative;
}
.process-step {
    padding-left: 60px;
    position: relative;
    padding-bottom: 40px;
}
.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    height: calc(100% - 50px);
    width: 2px;
    background: rgba(0,18,51,0.05);
}
.process-step:last-child::before {
    display: none;
}
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1;
}


/* ¦¦ Floating Contact Buttons ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.fab-item.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.fab-item.phone {
    background: linear-gradient(135deg, var(--gold) 0%, #a6813e 100%);
}

.fab-item:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.fab-label {
    position: absolute;
    right: 120%;
    background: rgba(0, 18, 51, 0.9);
    backdrop-filter: blur(5px);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-item:hover .fab-label {
    opacity: 1;
    visibility: visible;
    right: 110%;
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .fab-item {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .fab-label {
        display: none;
    }
}

.fab-item.whatsapp::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    opacity: 0.5;
    animation: fab-pulse 2s infinite;
}

@keyframes fab-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}


/* ¦¦ Home Contact & Map (Premium) ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
.blueprint-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    box-shadow: none;
}

.form-floating > label {
    transition: all 0.3s ease;
}

.map-overlay-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    max-width: 300px;
}

.map-overlay-info .bg-dark-blue {
    backdrop-filter: blur(10px);
    background: rgba(0, 18, 51, 0.9) !important;
}

/* Hover Ripple Effect for Button */
.hvr-ripple-out {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
}
.hvr-ripple-out:before {
    content: '';
    position: absolute;
    border: var(--gold) solid 6px;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0;
    transition-duration: 0.5s;
}
.hvr-ripple-out:hover:before {
    top: -12px; right: -12px; bottom: -12px; left: -12px;
    opacity: 1;
}



