/* ==========================================================================
   Antigravity Estates - Ultra-Premium Luxury Design System (styles.css)
   Aesthetics: Cinematic, Minimalist, Luxurious, Modern
   Inspired by Apple, Bentley, & Sotheby's
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-bg: #0D0D0D;
    --color-bg-alt: #121212;
    --color-text-primary: #F3F5F9;
    --color-text-secondary: #F2F2F0;
    --color-accent: #819FA7;
    --color-accent-hover: #5B6E74;
    
    /* Subtle UI Overlays */
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-hover: rgba(255, 255, 255, 0.12);
    --color-card-bg: rgba(20, 20, 20, 0.6);
    --color-drawer-bg: rgba(18, 18, 18, 0.85);
    --color-glass-overlay: rgba(13, 13, 13, 0.75);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-premium: 0 25px 60px rgba(0, 0, 0, 0.8);
    
    /* Typography */
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Fluid Sizing & Spacing (Responsive Design Tokens) */
    --fs-hero-title: clamp(2.2rem, 5vw + 0.8rem, 5.5rem);
    --fs-h2: clamp(1.8rem, 3.2vw + 0.6rem, 2.8rem);
    --fs-h3: clamp(1.25rem, 1.8vw + 0.4rem, 1.8rem);
    --fs-body: clamp(0.9rem, 0.25vw + 0.8rem, 1.05rem);
    --fs-small: clamp(0.7rem, 0.15vw + 0.65rem, 0.85rem);
    
    /* Fluid Spacing */
    --space-section: clamp(4.5vh, 6vw + 1vh, 8.5vh);
    --space-container-padding: clamp(1.2rem, 3vw, 2.5rem);

    /* Geometry */
    --border-radius: 18px;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Core Page Defaults
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-bg);
}

/* Compensate for navbar height on section anchor scrolls */
section[id] {
    scroll-margin-top: clamp(80px, 8vw, 100px);
}

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

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

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

/* Scrollbar Design */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-hover);
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Elements
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Elegant line dividers */
.accent-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 1.5rem auto 0 auto;
}

.text-center .accent-line {
    margin-left: auto;
    margin-right: auto;
}

.about-content-column .accent-line {
    margin-left: 0;
    margin-right: 0;
}

/* Common Section Layout */
.section {
    padding: var(--space-section) 0;
    position: relative;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding-left: var(--space-container-padding);
    padding-right: var(--space-container-padding);
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding-left: var(--space-container-padding);
    padding-right: var(--space-container-padding);
}

.section-header {
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: var(--fs-h2);
    line-height: 1.2;
    color: var(--color-text-primary);
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

/* SVG icon utilities */
.icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.icon-subtle {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
    vertical-align: top;
    margin-top: 3px;
    margin-right: 12px;
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   4. Buttons & CTA Elements
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-text-primary);
    box-shadow: 0 10px 20px rgba(129, 159, 167, 0.15);
}

.btn-secondary {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-link {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.btn-link:hover {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-text-primary);
}

.btn-link:hover .arrow-icon {
    transform: translate3d(5px, 0, 0);
    stroke: var(--color-text-primary);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    margin-left: 8px;
    transition: var(--transition-fast);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    padding: 2.2rem 3rem;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1.2rem 3rem;
    background-color: var(--color-glass-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo, .footer-logo {
    display: inline-block;
    vertical-align: middle;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.5vw, 1.2rem);
}

.logo-brand {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw + 0.2rem, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    line-height: 1.2;
}

.logo-accent {
    font-family: var(--font-body);
    font-style: normal; /* Remove italic style for uniformity */
    font-weight: 800; /* Extra bold letters */
    color: #FFFFFF; /* Pure white */
    margin-right: 0;
    display: block; /* Stack RE/MAX and LEON vertically */
}

.logo-divider {
    width: 1px;
    height: clamp(22px, 5vh, 32px);
    background-color: rgba(255, 255, 255, 0.2);
}

.logo-agent {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.2vw + 0.1rem, 0.95rem);
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    opacity: 0.65;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--color-text-primary);
}

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

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

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

.btn-consultation {
    padding: 0.8rem 1.6rem;
    font-size: 0.75rem;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1002;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
    transform-origin: left center;
}

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    transform: rotate(-45deg);
    margin-top: 14px;
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    display: none;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-medium);
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    color: var(--color-text-primary);
}

.btn-consultation-mobile {
    margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   6. Hero Section (Parallax & Cinematic)
   -------------------------------------------------------------------------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 12s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image zoom effect after page loads */
.hero.loaded .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.45) 0%,
        rgba(13, 13, 13, 0.6) 45%,
        rgba(13, 13, 13, 0.85) 80%,
        #0D0D0D 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin-top: clamp(2rem, 8vh, 5rem);
}

.hero-title {
    font-size: var(--fs-hero-title);
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.95);
}

.serif-title {
    display: block;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-primary);
    opacity: 0.98;
}

.title-sub {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-top: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-subtext {
    font-size: clamp(1rem, 1.2vw + 0.2rem, 1.15rem);
    font-weight: 300;
    color: var(--color-text-secondary);
    opacity: 0.8;
    margin-bottom: 3.5rem;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--color-accent);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    animation: scrollAnimation 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    transform-origin: top;
}

@keyframes scrollAnimation {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   7. Featured Properties (Cards Portfolio)
   -------------------------------------------------------------------------- */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.property-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-premium);
}

.property-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.property-card:hover .property-img {
    transform: scale(1.08);
}

.property-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(13, 13, 13, 0.7);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.property-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-location {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

.property-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-primary);
}

.property-price {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.btn-property-details {
    margin-top: auto;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   8. About Section (Excellence & Counters)
   -------------------------------------------------------------------------- */
.about-section {
    position: relative;
}

/* Align columns to top and offset image by the tag height to match 'Üst Düzey Gayrimenkul' */
.about-section .grid-2 {
    align-items: start;
}

.about-image-column {
    margin-top: 2.2rem;
}

/* Professional agent portrait layout: 4:4.5 aspect ratio, responsive size, starts from the very top edge of the container */
.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    max-width: 400px;
    width: 100%;
    aspect-ratio: 4 / 4.5;
    margin: 0 auto;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Starts from the very top edge of the container to prevent head crop */
}

.about-img-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13,13,13,0.3) 0%, transparent 100%);
    pointer-events: none;
}

.about-content-column {
    padding-left: 2rem;
}

.about-lead {
    font-size: 1.3rem;
    font-family: var(--font-headings);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-primary);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-body {
    font-size: var(--fs-body);
    font-weight: 300;
    color: var(--color-text-secondary);
    opacity: 0.8;
    margin-bottom: 1.2rem; /* Tightened space between paragraphs */
}

.about-body-text {
    margin-bottom: 3rem; /* Spacing before the statistics grid */
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   9. Services Section (Minimal Premium Cards)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.service-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    transition: var(--transition-medium);
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.service-icon-wrapper {
    margin-bottom: 2rem;
    color: var(--color-accent);
    transition: var(--transition-fast);
}

.service-icon {
    width: 48px;
    height: 48px;
}

.service-card:hover .service-icon-wrapper {
    color: var(--color-accent-hover);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-headings);
}

.service-description {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    opacity: 0.75;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. Masonry Gallery
   -------------------------------------------------------------------------- */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(180px, 18vw, 300px);
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.size-tall {
    grid-row: span 2;
}

.gallery-item.size-wide {
    grid-column: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.7);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-info-overlay {
    opacity: 1;
}

.gallery-info-overlay span {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    color: var(--color-text-primary);
    transform: translate3d(0, 10px, 0);
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-info-overlay span {
    transform: translate3d(0, 0, 0);
}

/* --------------------------------------------------------------------------
   11. Testimonials (Discretion & Quotes)
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.testimonial-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 4.5rem 3.5rem;
    position: relative;
}

.quote-mark {
    font-family: var(--font-headings);
    font-size: 7rem;
    line-height: 1;
    color: rgba(129, 159, 167, 0.15);
    position: absolute;
    top: 1rem;
    left: 2rem;
    user-select: none;
}

.testimonial-quote {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
}

.author-title {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   12. Blog Preview (Editorial Dark Style)
   -------------------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.blog-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-soft);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-category {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    color: var(--color-accent);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    opacity: 0.5;
    margin-bottom: 0.8rem;
}

.blog-title {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-title a:hover {
    color: var(--color-accent);
}

.blog-excerpt {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card .btn-link {
    margin-top: auto;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   13. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 8rem 2rem;
}

.cta-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-bg);
}

.cta-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   14. Minimalist Luxury Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-section) 0 clamp(2rem, 4vw, 3rem) 0;
    color: var(--color-text-secondary);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(2rem, 4vw, 4rem);
    margin-bottom: 5rem;
}

.footer-contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Footer logo inherits the common inline-block styles from .nav-logo definition */

.footer-desc {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.6;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.social-icon:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    margin-bottom: 1.8rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-list a {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.65;
}

.footer-list a:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 4px;
}

.address-list li {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.newsletter-desc {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.6;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.newsletter-form:focus-within {
    border-color: var(--color-accent);
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 100%;
    padding: 0.5rem 0;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-arrow {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.newsletter-form:focus-within .btn-arrow, .btn-arrow:hover {
    color: var(--color-accent);
}

/* Feedback message */
.form-feedback {
    display: none;
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-top: 1rem;
    animation: fadeIn 0.4s ease forwards;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.5;
}

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

.footer-legal-links a:hover {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   15. Book Consultation Drawer & Form Elements
   -------------------------------------------------------------------------- */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: -550px;
    width: 100%;
    max-width: 520px;
    height: 100%;
    background-color: var(--color-drawer-bg);
    border-left: 1px solid var(--color-border);
    box-shadow: var(--shadow-premium);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

.drawer-overlay.open .drawer {
    right: 0;
}

.drawer-header {
    padding: 2.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-size: 1.6rem;
    color: var(--color-text-primary);
}

.drawer-close {
    font-size: 2rem;
    color: var(--color-text-secondary);
    opacity: 0.5;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    opacity: 1;
    color: var(--color-accent);
}

.drawer-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.drawer-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Consultation Form */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-control:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.04);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23819FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px;
    padding-right: 3rem;
    cursor: pointer;
}

select.form-control option {
    background-color: var(--color-bg-alt);
    color: var(--color-text-primary);
}

.form-feedback-drawer {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1rem;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.5;
    margin-bottom: 1rem;
}

.form-feedback-drawer h4 {
    font-size: 1.4rem;
    color: var(--color-text-primary);
}

.form-feedback-drawer p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   16. Scroll Reveal Animations & Micro Interactions
   -------------------------------------------------------------------------- */
/* Initial state for items being revealed */
.reveal {
    opacity: 0;
    transform: translate3d(0, 45px, 0);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Hero reveal sequencing */
.reveal-item {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.hero-title.reveal-item {
    animation-delay: 0.3s;
}

.hero-subtext.reveal-item {
    animation-delay: 0.6s;
}

.hero-buttons.reveal-item {
    animation-delay: 0.8s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   17. Responsive Adaptation
   -------------------------------------------------------------------------- */
/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1500px;
    }
    .container-fluid {
        max-width: 1800px;
    }
}

/* Laptop (1440px) and lower is handled smoothly by fluid clamp tokens */

/* Tablet Landscape (1024px) / Desktop Mini */


/* Tablet (991px) */
@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-content-column {
        padding-left: 0;
        text-align: center;
    }
    
    .about-image-column {
        margin-top: 0;
    }
    
    .about-content-column .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
    
    .properties-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .masonry-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: clamp(150px, 22vw, 240px);
    }
    
    .gallery-item.size-wide {
        grid-column: span 1;
    }
    
    .navbar {
        padding: 1.2rem 2rem;
    }
    
    .nav-menu {
        display: none; /* Mobile navigation active */
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .btn-consultation,
    .navbar .nav-actions .whatsapp-redirect-btn,
    .navbar .nav-actions .call-redirect-btn {
        display: none !important;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .footer-contact-actions {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .properties-grid, .services-grid, .blog-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .masonry-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: clamp(150px, 50vw, 250px);
    }
    
    .gallery-item.size-tall {
        grid-row: span 1;
    }
    

    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .drawer {
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 3rem 2rem;
    }
}

/* Small Mobile (360px) */
@media (max-width: 360px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .navbar {
        padding: 1rem 1.2rem;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Details Modals & Admin Panel Styles
   ========================================================================== */

/* 1. Dynamic Detail Modals (Property & Blog Post) */
.details-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.details-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.details-modal {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) rgba(255, 255, 255, 0.05);
}

.details-modal-overlay.open .details-modal {
    transform: scale(1) translateY(0);
}

.details-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.details-modal-close:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

.details-modal-hero {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.details-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.details-modal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(18, 18, 18, 1), rgba(18, 18, 18, 0));
}

.details-modal-body {
    padding: 3rem;
}

.details-modal-tag {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.details-modal-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.details-modal-meta {
    display: flex;
    gap: 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #8E929A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.details-modal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-modal-meta .icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.details-modal-text {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #D1D5DB;
    margin-bottom: 2.5rem;
}

.details-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

/* 2. Admin Panel Layout & Design */
.admin-body {
    background-color: #070707;
    color: #ECEFF4;
    font-family: var(--font-primary);
    min-height: 100vh;
}

/* Glassmorphic Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 16, 24, 0.95) 0%, rgba(5, 5, 8, 0.99) 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.login-card {
    background: rgba(22, 22, 28, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.login-logo {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.login-logo .accent {
    color: var(--color-gold);
    font-weight: 700;
}

.login-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.login-subtitle {
    font-size: 0.85rem;
    color: #8E929A;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #8E929A;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.login-form .form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    border-radius: 6px;
    padding: 0.9rem 1.2rem;
    width: 100%;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.15);
}

.login-error {
    color: #FF5A5F;
    font-size: 0.85rem;
    margin-top: 1rem;
    display: none;
}

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: #0D0D11;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.admin-sidebar-header {
    margin-bottom: 3.5rem;
    padding: 0 0.5rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    color: #8E929A;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-nav-item:hover, .admin-nav-item.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.admin-nav-item.active {
    border-left: 3px solid var(--color-gold);
    background: rgba(197, 160, 89, 0.06);
    color: var(--color-gold);
    padding-left: 1rem;
}

.admin-nav-item .icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.admin-logout {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
}

.admin-main {
    margin-left: 280px;
    flex-grow: 1;
    padding: 3rem 4rem;
    min-height: 100vh;
    background-color: #07070A;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.admin-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 400;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    object-fit: cover;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-stat-info h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8E929A;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-stat-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* Custom Table Design */
.admin-panel-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-panel-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 1.2rem 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 600;
    color: #8E929A;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: #D1D5DB;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.table-img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-new { background: rgba(52, 211, 153, 0.15); color: #34D399; }
.badge-exclusive { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.badge-pending { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.badge-sold { background: rgba(107, 114, 128, 0.15); color: #9CA3AF; }
.badge-unread { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }
.badge-read { background: rgba(156, 163, 175, 0.1); color: #9CA3AF; }

.action-btns {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #8E929A;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-icon.edit:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-icon.delete:hover {
    color: #FF5A5F;
    border-color: #FF5A5F;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    pointer-events: none;
}

/* Modals & Forms inside Admin Panel */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.open {
    opacity: 1;
    visibility: visible;
}

.admin-modal-content {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.open .admin-modal-content {
    transform: translateY(0);
}

.admin-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #8E929A;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.admin-modal-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-form .form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8E929A;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-form .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--color-text-primary);
    padding: 0.8rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.admin-form .form-control:focus {
    border-color: var(--color-gold);
    outline: none;
}

.admin-form textarea.form-control {
    resize: vertical;
}

.admin-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: #181824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--color-gold);
    color: var(--color-text-primary);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Settings Styles */
.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.settings-form-grid .full-width {
    grid-column: span 2;
}

/* Responsiveness for Admin Panel */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
        padding: 2.5rem 0.5rem;
        align-items: center;
    }
    
    .admin-sidebar-header {
        display: none;
    }
    
    .admin-nav-item {
        padding: 0.8rem;
        justify-content: center;
        width: 50px;
        height: 50px;
    }
    
    .admin-nav-item span {
        display: none;
    }
    
    .admin-main {
        margin-left: 80px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .settings-form-grid {
        grid-template-columns: 1fr;
    }
    .settings-form-grid .full-width {
        grid-column: span 1;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   Blog Page Sidebar & Layout Styling
   ========================================================================== */
.blog-grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
}

.blog-grid-main {
    width: 100%;
}

/* Override column count for blog section grid */
.blog-list-section .blog-grid {
    grid-template-columns: repeat(2, 1fr);
}

.blog-sidebar {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: sticky;
    top: 9rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.blog-sidebar:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-premium);
}

.sidebar-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.8rem;
}

.sidebar-blog-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sidebar-blog-item {
    margin: 0;
}

.sidebar-blog-item a {
    display: block;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-text-secondary);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.sidebar-blog-item a:hover {
    opacity: 1;
    color: var(--color-accent);
    transform: translate3d(5px, 0, 0);
}

/* Sidebar Responsive adaptation */
@media (max-width: 991px) {
    .blog-grid-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .blog-sidebar {
        position: static;
        padding: 2rem;
    }
    
    .blog-list-section .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-list-section .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Floating Admin Panel Button Styling
   ========================================================================== */
.admin-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 54px;
    height: 54px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.admin-floating-btn:hover {
    color: var(--color-text-primary);
    border-color: var(--color-accent);
    background-color: var(--color-bg);
    box-shadow: var(--shadow-premium);
    transform: scale(1.1) rotate(45deg);
}

.admin-floating-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

@media (max-width: 768px) {
    .admin-floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 46px;
        height: 46px;
    }
    .admin-floating-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Content Auto-Link (linkify) Styling
   ========================================================================== */
.details-modal-text .content-link {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition-fast);
}

.details-modal-text .content-link:hover {
    color: var(--color-text-primary);
    text-decoration: none;
}

/* ==========================================================================
   Luxury Contact Pill Buttons Styling
   ========================================================================== */
.contact-pill-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Default White/Grey Pill */
.contact-pill-btn.btn-default-pill {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}
.contact-pill-btn.btn-default-pill:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* WhatsApp Red/Burgundy Pill */
.contact-pill-btn.btn-whatsapp-pill {
    background: rgba(180, 40, 55, 0.22) !important;
    border: 1px solid rgba(180, 40, 55, 0.65) !important;
    color: #ff8595 !important;
}
.contact-pill-btn.btn-whatsapp-pill:hover {
    background: rgba(180, 40, 55, 0.4) !important;
    border-color: #ff8595 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(180, 40, 55, 0.2);
}

/* Instagram Purple/Plum Pill */
.contact-pill-btn.btn-instagram-pill {
    background: rgba(140, 50, 95, 0.22) !important;
    border: 1px solid rgba(140, 50, 95, 0.65) !important;
    color: #f79bc3 !important;
}
.contact-pill-btn.btn-instagram-pill:hover {
    background: rgba(140, 50, 95, 0.4) !important;
    border-color: #f79bc3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(140, 50, 95, 0.2);
}

/* Facebook Royal Blue Pill */
.contact-pill-btn.btn-facebook-pill {
    background: rgba(24, 119, 242, 0.22) !important;
    border: 1px solid rgba(24, 119, 242, 0.65) !important;
    color: #7cb4ff !important;
}
.contact-pill-btn.btn-facebook-pill:hover {
    background: rgba(24, 119, 242, 0.4) !important;
    border-color: #7cb4ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

/* TikTok Cyan/Coral Pill */
.contact-pill-btn.btn-tiktok-pill {
    background: rgba(0, 242, 234, 0.15) !important;
    border: 1px solid rgba(0, 242, 234, 0.55) !important;
    color: #83fffa !important;
}
.contact-pill-btn.btn-tiktok-pill:hover {
    background: rgba(254, 44, 85, 0.22) !important;
    border-color: #ff8ca3 !important;
    color: #ff8ca3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.2);
}

/* ==========================================================================
   Luxury Gallery Section Styles
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    transition: all 0.4s ease;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.gallery-subtitle {
    color: var(--color-accent);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Video Play Overlay */
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    transition: background 0.3s ease;
}

.video-play-btn svg {
    width: 60px;
    height: 60px;
    fill: #fff;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.gallery-item:hover .video-play-btn svg {
    opacity: 1;
    transform: scale(1.1);
    fill: var(--color-accent);
}

/* Tab selector buttons active animations */
.gallery-tab-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-tab-btn:hover {
    color: #fff;
}

.gallery-tab-btn.active {
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-content iframe {
    width: 75vw;
    height: 42vw;
    max-width: 1000px;
    max-height: 562px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 991px) {
    .lightbox-prev {
        left: 20px;
        background: rgba(0,0,0,0.5);
    }
    .lightbox-next {
        right: -20px;
        background: rgba(0,0,0,0.5);
    }
    .lightbox-close {
        top: 15px;
        right: 15px;
        z-index: 10;
        background: rgba(0,0,0,0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Admin Login Screen Styles
   ========================================================================== */
.admin-login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.login-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.login-header {
    margin-bottom: 2rem;
}

.btn-login {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b42837 100%) !important;
    border: none !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(180, 40, 55, 0.4);
}



