:root {
    --bg-main: #191919;
    /* Off-white sand */
    --text-primary: #1a1a1a;
    --accent: #810100;
    /* Logo Red */
    --accent-muted: #7e0404;
    /* Metallic/Sand accent like images */
    --white: #ffffff;
    --black: #111111;
    --serif: 'Montserrat', sans-serif;
    --sans: 'Poppins', sans-serif;
    --spacing-xl: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6,p,a,span,li{
    color: #fff !important;
}
.text-muted{
    color: #fff !important;
}
input::placeholder, textarea::placeholder {
    color: #efeaea !important;
}
body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

/* Custom Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.serif {
    font-family: var(--serif);
    font-weight: 600;
}

.display-large {
    font-size: clamp(2.2rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-break: break-word;
}

/* Custom Grid / Layout (Bootstrap override) */
.custom-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

section {
    padding: var(--spacing-xl) 0;
}

/* Header Refinement */
header {
    padding: 30px 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
    width: 100%;
}

header.scrolled {
    padding: 15px 0;
    background: #191919;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-text {
    font-family: var(--sans);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.4rem);
}

.nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section - Image Inspiration */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-main);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    /* Better depth and contrast */
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Improve readability */
}

.hero-btn-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--accent-muted);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 8px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    margin-top: 40px;
}

.hero-btn-circle:hover {
    transform: scale(1.1);
    background: var(--accent);
}

/* Services / Grid Items - Studio 11 Style */
.service-item {
    margin-bottom: 80px;
}

.service-img-wrapper {
    overflow: hidden;
    margin-bottom: 30px;
}

.service-img-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-primary);
    text-decoration: none;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #191919 !important;
}

/* Services Slider Luxury Styling */
.services-slider-section {
    position: relative;
    background: #000;
    overflow: hidden;
}

.services-swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-image img {
    transform: scale(1.1);
}

.slide-info-box {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    max-width: 800px;
    color: #fff;
}

.slide-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.6;
    letter-spacing: 0.2em;
}

.slide-info-box .service-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    margin-bottom: 30px;
    line-height: 1;
}

.slide-info-box .service-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 300;
}

.swiper-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--accent-muted);
    opacity: 1;
}

.swiper-navigation {
    display: flex;
    gap: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff;
    color: #000;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 40px;
    right: 5%;
    color: #fff;
    cursor: pointer;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.overlay-nav-link {
    font-family: var(--serif);
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}

.menu-overlay.active .overlay-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active .overlay-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-overlay.active .overlay-nav-link:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-overlay.active .overlay-nav-link:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-overlay.active .overlay-nav-link:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-overlay.active .overlay-nav-link:nth-child(5) {
    transition-delay: 0.5s;
}

.overlay-nav-link:hover {
    color: var(--accent-muted);
}

/* Contact Form Styling */
.form-group-custom {
    margin-bottom: 20px;
}

.form-group-custom .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 15px 0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group-custom .form-control:focus {
    box-shadow: none;
    border-color: var(--black);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent-muted);
}

.ls-2 {
    letter-spacing: 0.2em;
}

/* References Slider Styling */
.references-swiper {
    padding: 20px 0;
}

.reference-logo {
    padding: 20px;
    background: #191919;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 30px;
}

.reference-logo img {
    max-height: 60px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.4s ease;
    width: auto;
}

.reference-logo:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-muted);
    transform: translateY(-5px);
}

.reference-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.grayscale {
    filter: grayscale(1);
}

/* Custom Footer - Highly Styled */
.studio-footer {
    background: #111;
    color: #fff;
    padding: 100px 0 40px;
    margin-top: 100px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 2rem;
    letter-spacing: 0.3em;
    font-weight: 300;
    margin-bottom: 30px;
}

.footer-heading {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
[data-aos] {
    transition-duration: 1000ms !important;
}

@media (max-width: 991px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .display-large {
        font-size: 3rem;
    }
}

/* ===== HİZMETLER DRAWER ===== */
.services-drawer-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    z-index: 900;
    background: var(--accent-muted);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.4);
    transition: background 0.3s ease;
    height: 160px;
}

.services-drawer-toggle:hover {
    background: var(--accent);
}

.services-drawer-toggle .toggle-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: var(--serif);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.services-drawer-toggle .toggle-icon {
    font-size: 1rem;
    color: #fff;
    transition: transform 0.3s;
}

.services-drawer-toggle.open .toggle-icon {
    transform: rotate(45deg);
}

.services-drawer {
    position: fixed;
    right: -420px;
    top: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #111;
    z-index: 850;
    display: flex;
    flex-direction: column;
    padding: 80px 50px 60px;
    overflow-y: auto;
    transition: right 0.45s cubic-bezier(0.19, 1, 0.22, 1);
    border-left: 1px solid rgba(255,255,255,0.07);
}

.services-drawer.open {
    right: 0;
}

.services-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 840;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(3px);
}

.services-drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.drawer-heading {
    font-family: var(--serif);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-muted);
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.drawer-service-list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: default;
    transition: padding-left 0.3s ease;
}

.drawer-service-list li:hover {
    padding-left: 6px;
}

.drawer-service-list li .svc-num {
    font-family: var(--serif);
    font-size: 0.7rem;
    color: var(--accent-muted);
    opacity: 0.8;
    min-width: 26px;
    letter-spacing: 0.1em;
}

.drawer-service-list li .svc-name {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.drawer-service-list li:hover .svc-name {
    color: var(--accent-muted);
}

.drawer-close-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    padding: 4px;
}

.drawer-close-btn:hover {
    color: #fff;
}