/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Minimalist Black & Gold Color Palette */
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --soft-black: #2D2D2D;
    --charcoal: #3D3D3D;
    --gold: #D4AF37;
    --light-gold: #E8C547;
    --dark-gold: #B8941F;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-grey: #F5F5F5;
    --medium-grey: #E0E0E0;
    --text-grey: #666666;

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--primary-black);
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    background-color: var(--primary-black);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    /* Removed text-based hover effect */
}

/* Style for the new logo image */
.logo-image {
    height: 40px;
    /* Sets the height for the logo in the navbar */
    width: auto;
    /* Maintains the aspect ratio */
    display: block;
    transition: var(--transition-fast);
}

.nav-logo:hover .logo-image {
    opacity: 0.85;
    /* Subtle hover effect */
}

/* Hides the old text classes if they still exist in any other part of the file */
.logo-text,
.logo-subtitle {
    display: none;
}

.nav-links-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-normal);
}

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

.nav-link:hover {
    color: var(--gold);
}

.nav-link-cta {
    background-color: var(--gold);
    color: var(--primary-black);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.nav-link-cta:active {
    background-color: var(--dark-gold);
    transform: translateY(1px);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary-black);
    z-index: 2000;
    transition: var(--transition-normal);
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.close-menu {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.mobile-nav-link:active {
    color: var(--gold);
    padding-left: 1.5rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    margin-top: 70px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title-accent {
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-black);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    display: inline-block;
    box-shadow: var(--shadow-gold);
}

.btn-primary:active {
    background-color: var(--dark-gold);
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    display: inline-block;
}

.btn-secondary:active {
    background-color: var(--gold);
    color: var(--primary-black);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

/* ===================================
   Scroll Animation (New Added)
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Section Styles
   =================================== */
.section-label {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    /* Hover scale removed */
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: var(--gold);
    border-radius: 20px;
    z-index: -1;
}

.about-content {
    max-width: 600px;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--soft-black);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Removed hover transform */
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Expandable Service Card */
.service-expand-btn {
    margin-top: 1.5rem;
    background: none;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
    width: 100%;
}

.service-expand-btn:hover {
    background-color: var(--gold);
    color: var(--primary-black);
}

.service-expand-btn:active {
    transform: scale(0.98);
}

.service-expand-btn .expand-icon {
    transition: var(--transition-normal);
}

.service-expand-btn.active .expand-icon {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.service-details.expanded {
    max-height: 500px;
    margin-top: 1.5rem;
}

.service-details-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.service-details-list {
    list-style: none;
    padding: 0;
}

.service-details-list li {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-details-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-black);
}

.gallery-section-alt {
    background-color: var(--secondary-black);
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    background-color: var(--soft-black);
    aspect-ratio: 1 / 1;
}

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

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

/* Responsive Grid Layouts */
@media (min-width: 640px) {
    .gallery-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid-7 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        gap: 2rem;
    }

    .gallery-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid-7 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .gallery-grid-7 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===================================
   Listing Section
   =================================== */
.listing-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-black);
}

.listing-category {
    margin-bottom: 4rem;
}

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

.category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}

.view-all-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.view-all-link:active {
    color: var(--dark-gold);
}

.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.property-card {
    background-color: var(--soft-black);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Removed hover transform */
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed hover scale */
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.property-badge.new {
    background-color: var(--gold);
    color: var(--primary-black);
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.property-location svg {
    color: var(--gold);
}

.property-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.property-features span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Social Media Section
   =================================== */
.social-media-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-black);
}

.social-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.social-screenshots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
}

.social-screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background-color: var(--soft-black);
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.social-screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.social-screenshot-item:hover .social-screenshot-image {
    transform: scale(1.05);
}

.social-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.social-subtitle {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.social-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.tiktok-btn {
    background: linear-gradient(135deg, var(--primary-black), var(--soft-black));
    color: var(--white);
    border: 2px solid var(--charcoal);
}

.tiktok-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.tiktok-btn:active {
    transform: translateY(0);
}

.facebook-btn {
    background: linear-gradient(135deg, #0c3872, #0d5dbf);
    color: var(--white);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.facebook-btn:active {
    transform: translateY(0);
}

/* Responsive Layout */
@media (min-width: 768px) {
    .social-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .social-screenshots {
        gap: 1.5rem;
    }

    .social-screenshot-item {
        max-width: 250px;
    }

    .social-buttons-container {
        margin: 0;
    }

    .social-text {
        text-align: left;
    }

    .social-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .social-btn {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .social-screenshot-item {
        max-width: 280px;
    }

    .social-subtitle {
        font-size: 2.5rem;
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info {
    max-width: 600px;
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-weight: 600;
    color: var(--white);
    font-size: 1.05rem;
}

.contact-form-container {
    background-color: var(--soft-black);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.form-input {
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    color: var(--white);
    background-color: var(--secondary-black);
}

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

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

.btn-submit {
    background-color: var(--gold);
    color: var(--primary-black);
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-gold);
}

.btn-submit:active {
    background-color: var(--dark-gold);
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

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

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-list a:hover {
    color: var(--gold);
}

.footer-list li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-brand-link:hover {
    color: var(--light-gold);
    text-decoration: underline;
}

/* ===================================
   Listing Pages Specific Styles
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.page-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
}

.listings-section {
    padding: 4rem 0;
    background-color: var(--secondary-black);
}

.listing-card {
    background-color: var(--soft-black);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Image Slider */
.listing-slider {
    position: relative;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    /* Default height for Desktop */
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slider-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    color: var(--primary-black);
}

.slider-btn:active {
    background-color: var(--gold);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* Listing Content */
.listing-content {
    padding: 2.5rem;
    flex: 1;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
    /* Allows wrapping on small screens */
}

.new-project-badge {
    display: inline-block;
    background-color: var(--gold);
    color: var(--primary-black);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.listing-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.listing-location svg {
    color: var(--gold);
}

.listing-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.listing-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-item svg {
    color: var(--gold);
}

/* Description Toggle */
.listing-description {
    margin-bottom: 2rem;
}

.description-preview {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.description-full {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.description-full.expanded {
    max-height: 3000px;
}

.description-full p {
    margin-bottom: 1rem;
}

.description-full ul {
    margin: 1rem 0 1rem 1.5rem;
    list-style: disc;
}

.description-full li {
    margin-bottom: 0.5rem;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    font-size: 1rem;
    padding: 0;
    margin-top: 1rem;
}

.show-more-btn:active {
    color: var(--dark-gold);
}

.show-more-btn svg {
    transition: var(--transition-normal);
}

.show-more-btn.active svg {
    transform: rotate(180deg);
}

.show-more-btn .hide-text {
    display: none;
}

.show-more-btn.active .show-text {
    display: none;
}

.show-more-btn.active .hide-text {
    display: inline;
}

.btn-inquiry {
    background-color: var(--gold);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.btn-inquiry:active {
    background-color: var(--dark-gold);
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   Responsive Design - Tablet & Mobile Fixes
   =================================== */
@media (max-width: 768px) {

    /* Fix Listing Cards Mobile View */
    .slider-container {
        height: 250px;
        /* Reduced height for mobile */
    }

    .listing-content {
        padding: 1.5rem;
        /* Smaller padding */
    }

    .listing-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .listing-title {
        font-size: 1.5rem;
    }

    .listing-price {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }

    .listing-features {
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Adjust properties grid */
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr;
    }

    .slider-container {
        height: 500px;
        /* Larger images on tablet+ */
    }
}

/* ===================================
   Responsive Design - Desktop
   =================================== */
@media (min-width: 1024px) {
    .nav-links-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 3rem;
    }

    .page-title {
        font-size: 3.5rem;
    }
}

/* ===================================
   Floating WhatsApp Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    /* Above content, below mobile menu */
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    /* Darker Green on Hover */
    transform: scale(1.1);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* Adjust for Mobile to not block content */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
