/* Reset & Variables */
:root {
    --primary: #232a5e; /* Navy blue */
    --secondary: #c39a61; /* Gold */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #fbfaf8; /* Slightly warm off-white */
    --bg-white: #fff;
    --pattern-bg: #faf9f6; 
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 500;
}

.font-playfair { font-family: var(--font-heading) !important; }
.font-montserrat { font-family: var(--font-body) !important; }

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

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

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }
@media (min-width: 992px) {
    .pl-lg-5 { padding-left: 3rem !important; }
    .pr-lg-5 { padding-right: 3rem !important; }
}
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-navy { background-color: var(--primary); }
.text-white { color: #fff; }
.rounded-img img, .rounded-img { border-radius: 8px; overflow: hidden; }
.d-mobile { display: none; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.h-100 { height: 100%; }
.w-100 { width: 100%; }
.object-cover { object-fit: cover; }

/* Grid */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.container-fluid {
    width: 100%;
    padding: 0 60px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col-md-6, .col-md-12, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 {
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
}
@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .d-mobile { display: none; }
}

/* Typography */
.sec-title {
    font-size: 38px;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.sec-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}
.apus-loader-inner {
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-navy {
    background-color: var(--primary);
    color: #fff;
}
.btn-navy:hover {
    background-color: #1a1f46;
    color: #fff;
}

/* Fixed Contact Button */
.fixed-contact-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: #fff;
    padding: 15px 20px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    z-index: 999;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
}
.fixed-contact-btn:hover {
    background-color: var(--secondary);
    color: #fff;
}

/* Header */
.main-header {
    position: absolute;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.main-header.sticky {
    position: fixed;
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.flex-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-text {
    color: #fff;
}
.main-header.sticky .logo-text {
    color: var(--text-dark);
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-transform: capitalize;
}
.main-header.sticky .main-nav a {
    color: var(--text-dark);
}
.main-nav a:hover {
    color: var(--secondary);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.phone-link {
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-header.sticky .phone-link {
    color: var(--text-dark);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
}
.slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
}
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.text-left {
    max-width: 800px;
}
.slide-title {
    font-size: 72px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}
.slide-subtitle {
    font-size: 18px;
    color: #fff;
    font-weight: 300;
    line-height: 1.6;
}

/* Swiper Nav */
.hero-slider .swiper-button-next, 
.hero-slider .swiper-button-prev {
    color: var(--primary);
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    display: none;
}
.hero-slider .swiper-button-next i,
.hero-slider .swiper-button-prev i {
    font-size: 24px;
}
.hero-slider .swiper-button-prev { left: 0; border-radius: 0 4px 4px 0; }
.hero-slider .swiper-button-next { right: 50px; border-radius: 4px 0 0 4px; }

/* Section Base */
.section {
    padding: 100px 0;
}

/* Villalarımız */
.pattern-bg {
    background-color: var(--pattern-bg);
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}
.villa-card {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}
.villa-badge {
    position: absolute;
    top: -15px; left: 15px;
    background: var(--secondary); /* bronze/gold */
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
}
.villa-img {
    margin-bottom: 20px;
    transition: var(--transition);
}
.villa-img img {
    width: 100%;
    border-radius: 20px 20px 60px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.villa-card:hover .villa-img {
    transform: translateY(-10px);
}
.villa-title {
    font-size: 22px;
    line-height: 1.4;
    color: #555;
    margin-top: 15px;
}

/* About Section */
.about-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}
.about-content-right {
    padding-left: 50px;
}

/* Amenities */
.amenities-grid .amenity-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}
.amenities-grid .amenity-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: transparent;
    transform: translateY(-5px);
}
.amenity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: var(--primary);
}
.amenity-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}
.amenity-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Gallery */
.gallery-section {
    padding: 80px 0;
    background: #fff;
}
.gallery-pagination {
    position: relative;
    width: auto !important;
}
.gallery-pagination .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: transparent;
    border: 1px solid var(--primary);
    opacity: 1;
    margin: 0 5px;
}
.gallery-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 991px) {
    .main-nav { display: none; }
    .d-mobile { display: block; background: none; border: none; color: #fff; font-size: 28px; }
    .main-header.sticky .d-mobile { color: var(--text-dark); }
    .slide-title { font-size: 48px; }
    .about-content-right { padding-left: 15px; margin-top: 30px; }
}
@media (max-width: 767px) {
    .slide-title { font-size: 36px; }
    .phone-link { display: none; }
    .container-fluid { padding: 0 20px; }
}

/* Banner Section */
.banner-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}
.z-index-2 { z-index: 2; position: relative; }

/* Tabs */
.nav-tabs {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0;
}
.nav-link {
    background: transparent;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
}
.nav-link:hover {
    color: var(--primary);
}
.nav-link.active {
    background-color: var(--primary);
    color: #fff;
}
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tab-pane.active {
    display: block;
}
.tab-pane.show {
    opacity: 1;
}

/* Map Section */
.map-section iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
}
.footer-logo svg {
    color: #fff;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.footer-links a i {
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}
.footer-contact {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
    line-height: 1.8;
}
.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
    opacity: 0.6;
    transition: all 0.3s ease;
    display: inline-block;
}
.social-links a:hover {
    opacity: 1;
    color: var(--secondary);
    transform: translateY(-3px);
}
.scroll-top {
    color: #fff;
    font-size: 22px;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.scroll-top:hover {
    color: var(--secondary);
    opacity: 1;
}

/* Further Responsive Adjustments */
@media (max-width: 991px) {
    .nav-tabs { flex-wrap: wrap; }
    .banner-section h2 { font-size: 36px !important; }
    .banner-section p { font-size: 15px !important; }
    .footer-bottom .scroll-top { right: 15px; }
    .fixed-contact-btn { padding: 12px 15px; font-size: 13px; }
    
    .project-details-section .col-lg-7 .img-wrapper { margin-top: 30px; }
}

@media (max-width: 767px) {
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next { width: 40px; height: 40px; }
    .hero-slider .swiper-button-next i,
    .hero-slider .swiper-button-prev i { font-size: 18px; }
    .hero-slider .swiper-button-next { right: 40px; }
    
    .nav-tabs .nav-link { padding: 8px 15px; font-size: 13px; }
    
    .banner-section { padding: 80px 0; }
    .banner-section h2 { font-size: 28px !important; }
    
    .site-footer { padding-top: 50px; }
    .footer-bottom { padding: 20px 0; }
    .footer-bottom .social-links { margin-top: 15px; }
    .scroll-top { display: none; }
    
    .fixed-contact-btn { display: none !important; }
}

/* Yaşam Page Styles */
.yasam-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.yasam-hero-title {
    font-size: 64px;
    margin-bottom: 10px;
}
.breadcrumb {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.position-relative {
    position: relative;
}
.circle-plus-btn {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.circle-plus-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}
.circle-plus-bottom-right {
    top: auto;
    bottom: 10%;
    transform: none;
}
.circle-plus-bottom-right:hover {
    transform: scale(1.1);
}
.vertical-contact-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: #fff;
    padding: 20px 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
}
.vertical-contact-btn:hover {
    background-color: var(--secondary);
}
.transparent-header {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lang-link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.main-header.sticky .lang-link {
    color: var(--text-dark);
}
.pt-5 { padding-top: 5rem; }
.pb-5 { padding-bottom: 5rem; }
