/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-font: 'Inter', sans-serif;
    --script-font: 'Playball', cursive;
    --primary-color: #000;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: var(--primary-font);
    background-color: #f8f9fa;
    /* Changed base bg to support multiple sections */
    scroll-behavior: smooth;
    /* Smooth scrolling for nav links */
}

/* Typography Utilities */
.fs-7 {
    font-size: 0.875rem;
}

.fs-8 {
    font-size: 0.75rem;
}

.letter-spacing-1 {
    letter-spacing: 2px;
}

.letter-spacing-2 {
    letter-spacing: 4px;
}

.cursor-pointer {
    cursor: pointer;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    /* Placeholder background */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%),
        url('../images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* Optional: adding rounded corners to mimic the mockup */
    border-radius: 30px;
    margin: 20px;
    height: calc(100vh - 40px);
    width: calc(100% - 40px);
}

@media (max-width: 991px) {
    .hero-section {
        border-radius: 0;
        margin: 0;
        height: 100vh;
        width: 100%;
    }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: absolute;
    top: 20px;
    /* Offset for the hero margin */
    left: 20px;
    width: calc(100% - 40px) !important;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

/* Custom Mobile Toggler (Top) */
.mobile-top-toggler {
    width: 60px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-top-toggler:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

/* Sticky Wrapper */
.sticky-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1035;
    pointer-events: none;
}

/* Sticky Hamburger */
.sticky-hamburger {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 82px;
    height: 82px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E0E0E0 !important;
    box-shadow: 0 0 64px 6px rgba(0, 0, 0, 0.02) !important;
    background-color: #FFFFFF;
    pointer-events: auto;
}

.sticky-hamburger.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-hamburger i {
    transition: transform 0.3s ease;
    color: #333 !important;
}

.sticky-hamburger:hover i {
    transform: scale(1.1);
}

/* Floating Pill Menu */
.floating-pill-menu {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -20px);
    width: 90%;
    max-width: 1300px;
    background-color: #ffffff;
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-color: #eaeaea !important;
    pointer-events: auto;
}

.floating-pill-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.floating-pill-menu .navbar-brand {
    font-size: 1.5rem !important;
}

.floating-pill-menu .navbar-nav .nav-link {
    color: #000 !important;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.floating-pill-menu .navbar-nav .nav-link:hover {
    color: #000 !important;
    opacity: 0.6;
}

@media (max-width: 991px) {
    .floating-pill-menu {
        display: none !important;
    }
}

.btn-call-dark {
    transition: all 0.3s ease;
}

.btn-call-dark:hover {
    background-color: #f8f9fa !important;
}

/* Offcanvas Menu Premium Styling */
.offcanvas .navbar-nav .nav-link {
    color: #000 !important;
}

.mobile-menu-list .nav-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    position: relative;
    display: inline-block;
    padding: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1.1;
}

.mobile-menu-list .nav-item {
    overflow: hidden;
}

.mobile-menu-list .nav-link:hover {
    transform: translateX(10px);
    color: #666 !important;
}

/* Staggered animation when offcanvas opens */
.offcanvas.show .mobile-menu-list .nav-item {
    animation: fadeUpIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.offcanvas.show .mobile-menu-list .nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

.offcanvas.show .mobile-menu-list .nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.offcanvas.show .mobile-menu-list .nav-item:nth-child(3) {
    animation-delay: 0.3s;
}

.offcanvas.show .mobile-menu-list .nav-item:nth-child(4) {
    animation-delay: 0.4s;
}

.offcanvas.show .mobile-menu-list .nav-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transition-all {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.btn-call {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* ==========================================================================
   Projects Slider Section
   ========================================================================== */
.project-title {
    font-family: 'Hurricane', cursive !important;
    font-weight: 400;
    font-size: 64px;
    line-height: 1.2;
    color: #000000;
    margin-left: -5px;
    /* Offset cursive padding */
}

.projectsSwiper {
    width: 100%;
}

.projectsSwiper .swiper-slide {
    width: 85% !important;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (min-width: 992px) {
    .projectsSwiper .swiper-slide {
        width: 70% !important;
    }
}

.projectsSwiper .swiper-slide-active .project-card {
    transform: scale(1);
    opacity: 1;
}

.projectsSwiper .swiper-slide:not(.swiper-slide-active) .project-card {
    transform: scale(0.92);
    opacity: 0.6;
}

.project-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-card-action {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
    transition: all 0.3s ease;
}

.btn-card-action i {
    transform: rotate(-45deg);
    transition: transform 0.4s ease;
}

.project-card:hover .btn-card-action {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.project-card:hover .btn-card-action i {
    transform: rotate(0deg);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

/* ==========================================================================
   Project Categories Section
   ========================================================================== */
.category-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card img {
    transition: transform 0.6s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

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

.category-icon-circle {
    width: 48px;
    height: 48px;
    background: transparent;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-circle {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff !important;
}

.swiper-btn-prev,
.swiper-btn-next {
    transition: all 0.3s ease;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
    background-color: #f8f9fa !important;
    transform: scale(1.05);
}

.btn-outline-light:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.btn-call:hover {
    background: #fff;
    color: #000;
}

.btn-call .icon-circle {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.btn-call:hover .icon-circle {
    background: #000 !important;
    color: #fff !important;
}

/* ==========================================================================
   Main Content Typography
   ========================================================================== */
.content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    /* Offset for navbar */
}

.project-brand {
    position: relative;
    display: inline-block;
}

.project-brand .small-text {
    font-size: 0.7rem;
    color: #fff;
}

.project-brand .script-font {
    font-family: var(--script-font);
    font-size: 4rem;
    line-height: 0.8;
}

.brand-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin-top: 5px;
    border-radius: 2px;
}

.description-text {
    font-size: 0.95rem;
    max-width: 450px;
}

/* CTA Button */
.btn-discover {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-discover:hover {
    transform: translateY(-2px);
}

.btn-discover .icon-circle {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-menu {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.menu-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notification-dot {
    width: 8px;
    height: 8px;
    top: 5px;
    right: 5px;
}

/* Bottom Controls */
.bottom-controls {
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.btn-nav-circle {
    width: 45px;
    height: 45px;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-nav-circle:hover {
    background: #fff;
    color: #000;
}

.btn-nav-next {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-nav-next:hover {
    background: #fff;
    color: #000;
}

/* ==========================================================================
   Sections Custom Styles
   ========================================================================== */
/* Projects */
.card-img-container {
    height: 300px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-card img {
    transition: transform 0.5s ease;
}

/* News */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-card:hover .news-link i {
    transform: translateX(5px);
}

/* Forms */
.form-control:focus {
    box-shadow: none;
    border-color: #000 !important;
    background-color: #fff !important;
}

/* News Swiper Blur Effect */
.newsSwiper .swiper-slide {
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.newsSwiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) {
    filter: blur(2px);
    opacity: 1;
}

.newsSwiper .swiper-slide-active,
.newsSwiper .swiper-slide-next {
    filter: blur(0);
    opacity: 1;
}

/* Map Cluster Label Adjustment */
.map-cluster-label {
    transform: translateY(-8px);
    /* Shift number up to center inside the pin */
}

/* Hover Utilities */
.hover-text-white:hover {
    color: #fff !important;
}

.hover-text-dark:hover {
    color: #212529 !important;
}

.hover-bg-white:hover {
    background-color: #fff !important;
    color: #212529 !important;
}

/* Floating Side Action Menu */
.floating-side-menu {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1045;
    width: 60px;
    padding: 10px 0;
}

.side-menu-item {
    width: 100%;
    height: 50px;
    font-size: 1.4rem;
    transition: opacity 0.3s ease;
    color: #111;
}

.side-menu-item:hover {
    opacity: 0.6;
    color: #111;
}

.side-menu-divider {
    width: 100%;
    height: 1px;
    background-color: #f0f0f0;
    margin: 5px 0;
}

/* Pulsing Red Dot */
.pulse-dot {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 12px;
    height: 12px;
    background-color: #ff0000;
    border-radius: 50%;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* FAQ Custom Accordion */
.custom-accordion .accordion-item {
    overflow: hidden;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #212529;
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.custom-accordion .accordion-button::after {
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .project-brand .script-font {
        font-size: 3rem;
    }

    h1.display-5 {
        font-size: 2.2rem;
    }

    .bottom-controls {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: space-between;
    }

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Intl-Tel-Input Override */
.iti {
    width: 100%;
    display: block;
}


/* ==========================================================================
   Light Header Variant (for Proje Detay)
   ========================================================================== */
.header-light {
    background-color: transparent !important;
}

.header-light .navbar {
    background-color: #fff !important;
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    padding: 0.75rem 2rem !important;
}

.header-light .navbar-nav .nav-link {
    color: #111 !important;
}

.header-light .navbar-nav .nav-link:hover,
.header-light .navbar-nav .nav-link:focus {
    color: #555 !important;
}

.header-light .btn-outline-light {
    border-color: rgba(17, 17, 17, 0.1) !important;
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    color: #111 !important;
    padding-left: 1.25rem !important;
}

.header-light .btn-outline-light:hover {
    background-color: rgba(17, 17, 17, 0.05) !important;
}

.header-light .icon-circle {
    background-color: #111 !important;
    color: #fff !important;
}

.header-light .logo-img {
    filter: invert(1);
}

.header-light .main-header .text-white {
    color: #111 !important;
}


.header-light .navbar-brand img {
    filter: invert(1) brightness(0);
}
/* Dynamic Header Positioning */
.main-header {
    position: absolute;
}

body.header-light .main-header {
    position: relative;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 992px) {
    body.header-light .main-header {
        padding-top: 2rem;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}


/* Hide overlays on non-active Swiper slides */
.swiper-slide:not(.swiper-slide-active) .slide-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}
.swiper-slide-active .slide-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
}

