/* =============================================================================
   Sol & Stone Real Estate - Custom Styles
   Brand: Elegant, Professional, Personable, Enchanting
   Colors: Dusty Rose, Mustard, Chocolate - Earthy Feminine Palette
   ============================================================================= */

/* CSS Variables - San Miguel de Allende Inspired Palette */
:root {
    /* Primary Brand Colors */
    --dusty-pink: #DFA8A2;
    --terracotta: #C17556;
    --cactus-green: #93A28C;
    --olive-green: #6A7C6B;
    --bloom-pink: #E78CA3;
    --sun-mustard: #E3944E;
    
    /* Neutral Colors */
    --sandstone: #E7D4C8;
    --cream-clay: #F3ECE4;
    --white: #FFFFFF;
    
    /* Semantic Color Assignments */
    --color-primary: var(--sun-mustard);
    --color-secondary: var(--terracotta);
    --color-accent-1: var(--bloom-pink);
    --color-accent-2: var(--cactus-green);
    --color-accent-3: var(--dusty-pink);
    
    /* Background Colors */
    --bg-cream: var(--cream-clay);
    --bg-white: var(--white);
    --bg-sandstone: var(--sandstone);
    --bg-soft-pink: #f8e8e6;
    --bg-soft-green: #eaf0e8;
    
    /* Text Colors */
    --text-primary: #3d3d3d;
    --text-secondary: #6b5b4f;
    --text-light: #9b8b7e;
    --text-muted: #c4b5a8;
    
    /* Borders & Shadows */
    --border-color: var(--sandstone);
    --shadow: rgba(193, 117, 86, 0.15);
    --shadow-soft: rgba(227, 148, 78, 0.12);
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-secondary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--sun-mustard);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid: var(--cactus-green);
}

.btn-secondary:hover {
    background-color: var(--cactus-green);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--bg-cream);
    border-color: var(--accent-mustard);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--bg-cream);
    border-color: var(--accent-mustard);
}

.btn-icon-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-icon-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Language Bar */
.language-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--accent-mustard);
    color: var(--bg-white);
    border-color: var(--accent-mustard);
}

.lang-btn:hover:not(.active) {
    border-color: var(--accent-mustard);
}

.flag {
    font-size: 1.25rem;
}

/* Main Navigation */
.main-nav {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-mustard);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    min-height: 400px;
    overflow: visible;
    background: transparent;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-track {
    display: flex;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Hide carousel controls when only one slide */
.hero-carousel:has(.carousel-slide:only-child) .carousel-control,
.hero-carousel:has(.carousel-slide:only-child) .carousel-indicators {
    display: none;
}

.carousel-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-logo-watermark {
    position: absolute;
    bottom: -230px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 1;
    max-width: 280px;
    transition: all 0.3s ease;
}

.hero-logo-watermark:hover {
    transform: translateX(-50%) translateY(-2px);
}

.hero-logo-watermark img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.carousel-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.carousel-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Door Animation */
.hero-door {
    position: relative;
    width: 200px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.door-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #c88b61 0%, #b37a50 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.door {
    position: relative;
    width: 80%;
    height: 90%;
    background: linear-gradient(to right, #d4a373 0%, #c89563 100%);
    border-radius: 4px;
    z-index: 2;
}

.door::before {
    content: '⚪';
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 1rem;
}

.bougainvillea {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    z-index: 3;
}

.bougainvillea::before {
    content: '🌺';
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.palm-tree {
    position: absolute;
    font-size: 4rem;
    bottom: 50px;
    animation: sway 4s ease-in-out infinite;
}

.palm-left {
    left: 15%;
}

.palm-right {
    right: 15%;
    animation-delay: 2s;
}

@keyframes sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    color: var(--bg-white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--bg-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--bg-white);
    width: 32px;
    border-radius: 6px;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Sections after hero need extra top padding for overlapping logo */
.featured-properties {
    padding-top: 140px;
    background-color: var(--bg-white);
}

/* Properties Slider */
.properties-slider-wrapper {
    position: relative;
    padding: 0 60px;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
}

.properties-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.properties-slider .property-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 0;
    scroll-snap-align: start;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--terracotta);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover:not(:disabled) {
    background: var(--terracotta);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(193, 117, 86, 0.3);
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav svg {
    stroke: currentColor;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(193, 117, 86, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(193, 117, 86, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--terracotta);
    width: 32px;
    border-radius: 6px;
}

/* Non-slider grid fallback */
.properties-grid:not(.properties-slider) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(223, 168, 162, 0.08);
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DFA8A2, #E3944E, #E78CA3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(223, 168, 162, 0.15);
    border-color: rgba(223, 168, 162, 0.2);
}

.property-card:hover::before {
    opacity: 1;
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.property-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.property-card:hover .property-image::after {
    opacity: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.property-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4a373 0%, #c89563 100%);
}

.property-placeholder svg {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.property-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: linear-gradient(135deg, #E3944E, #C17556);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(227, 148, 78, 0.35);
    backdrop-filter: blur(8px);
    z-index: 10;
    transition: all 0.3s ease;
}

.property-card:hover .property-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 148, 78, 0.45);
}

.property-badge.new {
    background: linear-gradient(135deg, #E78CA3, #DFA8A2);
    box-shadow: 0 4px 15px rgba(231, 140, 163, 0.35);
}

.property-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
}

.property-title {
    font-size: 1.625rem;
    margin-bottom: 0.625rem;
    color: var(--text-secondary);
    min-height: 2em;
    line-height: 1.3;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    transition: color 0.3s ease;
}

.property-card:hover .property-title {
    color: #C17556;
}

.property-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: #E3944E;
}

.property-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    min-height: 1.5em;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    min-height: 2em;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.feature svg {
    stroke-width: 2;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.property-price {
    font-size: 2rem;
    font-weight: 700;
    color: #E3944E;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(135deg, #E3944E, #C17556);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.property-card:hover .property-price {
    transform: scale(1.05);
}

.property-price-per-sqm {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.property-type {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-details p {
    margin-bottom: 0.75rem;
}

.property-details .btn {
    margin-top: auto;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card .btn-outline {
    border: 2px solid rgba(193, 117, 86, 0.3);
    color: #C17556;
    background: rgba(193, 117, 86, 0.02);
}

.property-card .btn-outline:hover {
    border-color: #C17556;
    background: #C17556;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 117, 86, 0.25);
}

.property-card .btn-primary {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
}

.property-card .btn-primary:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.property-card .btn svg {
    transition: transform 0.3s ease;
}

.property-card .btn:hover svg {
    transform: scale(1.15);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #F3ECE4 0%, #E7D4C8 50%, #DFA8A2 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(223, 168, 162, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-hero {
    position: sticky;
    top: 120px;
}

.about-image-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.about-image {
    position: sticky;
    top: 100px;
}

.profile-circle {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 6px solid white;
    background: white;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder svg {
    width: 100%;
    height: 100%;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-badge:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.badge-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #DFA8A2, #E78CA3);
    border-radius: 10px;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.badge-text strong {
    font-size: 1rem;
    color: var(--text-primary);
    font-family: 'Cormorant Garamond', serif;
}

.badge-text span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.about-story {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.story-section {
    margin-bottom: 2.5rem;
}

.story-section:last-of-type {
    margin-bottom: 0;
}

.story-section h3 {
    font-size: 1.75rem;
    color: var(--dusty-pink);
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    display: inline-block;
}

.story-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--sun-mustard), transparent);
    border-radius: 2px;
}

.story-section p {
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.story-section p:last-child {
    margin-bottom: 0;
}

.passions-box {
    background: linear-gradient(135deg, rgba(227, 148, 78, 0.08), rgba(231, 140, 163, 0.08));
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid var(--sun-mustard);
    position: relative;
    margin: 2.5rem 0;
}

.passions-icon {
    font-size: 2.5rem;
    position: absolute;
    top: -20px;
    right: 20px;
    opacity: 0.3;
}

.passions-box h3 {
    color: var(--sun-mustard);
}

.passions-box p {
    font-style: italic;
    font-size: 1.1rem;
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #E7D4C8;
    flex-wrap: wrap;
}

.about-cta .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.about-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.about-bio {
    margin-bottom: var(--spacing-md);
}

.about-bio p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-passions {
    background: rgba(255, 255, 255, 0.5);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--sun-mustard);
    margin-bottom: var(--spacing-md);
}

.about-passions h3 {
    color: var(--sun-mustard);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.about-passions p {
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, rgba(223, 168, 162, 0.08), rgba(147, 162, 140, 0.08));
    padding: 4rem 0;
}

.why-choose .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.why-choose .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-choose .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-choose-image {
    display: flex;
    justify-content: center;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--dusty-pink);
    box-shadow: 0 8px 24px var(--shadow);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
}

.profile-placeholder svg {
    width: 100%;
    height: 100%;
}

.why-choose-text h2 {
    margin-bottom: var(--spacing-md);
}

.why-feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--terracotta);
}

.why-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(193, 117, 86, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terracotta), var(--dusty-pink));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(193, 117, 86, 0.2);
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.feature-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

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

/* Services Overview */
.services-overview {
    background-color: var(--bg-white);
    padding-top: 0;
    margin-top: 0;
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--accent-mustard);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--terracotta);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--sun-mustard);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--sandstone);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.testimonial-rating {
    color: var(--sun-mustard);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-rating .star {
    display: inline-block;
}

.testimonial-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid var(--sandstone);
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.testimonial-category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.testimonial-category-badge.testimonial-seller {
    background: linear-gradient(135deg, var(--cactus-green), var(--olive-green));
}

.testimonial-category-badge.testimonial-buyer {
    background: linear-gradient(135deg, var(--bloom-pink), var(--dusty-pink));
}

.testimonial-category-badge.testimonial-relocation {
    background: linear-gradient(135deg, var(--sun-mustard), var(--terracotta));
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Old styles kept for compatibility */
.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1rem;
    min-height: 120px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-sellers .dot.active {
    background: var(--cactus-green);
    width: 24px;
    border-radius: 5px;
}

.testimonial-buyers .dot.active {
    background: var(--bloom-pink);
    width: 24px;
    border-radius: 5px;
}

.testimonial-relocation .dot.active {
    background: var(--sun-mustard);
    width: 24px;
    border-radius: 5px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--bg-soft-pink) 0%, var(--sandstone) 50%, var(--cream-clay) 100%);
    color: var(--text-primary);
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h2 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.newsletter-form .btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
}

.newsletter-form .btn-primary:hover {
    background-color: var(--sun-mustard);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--bg-soft-green) 0%, var(--cactus-green) 100%);
    color: var(--text-secondary);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-image {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo .brand-name {
    color: var(--text-secondary);
}

.footer-logo .brand-tagline {
    color: var(--text-light);
}

.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--sandstone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--bloom-pink);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-column h3 {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--bloom-pink);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--olive-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-legal a {
    color: var(--text-light);
}

.footer-legal a:hover {
    color: var(--bloom-pink);
}

/* Testimonials Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--dusty-pink) 0%, var(--sandstone) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.testimonials-full {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-cream);
}

.testimonial-category {
    margin-bottom: var(--spacing-xl);
}

.category-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.category-header h2 {
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.testimonials-list {
    display: grid;
    gap: 2rem;
}

.testimonial-full-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-full-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.testimonial-sellers-bg {
    border-left: 6px solid var(--cactus-green);
}

.testimonial-buyers-bg {
    border-left: 6px solid var(--bloom-pink);
}

.testimonial-relocation-bg {
    border-left: 6px solid var(--sun-mustard);
}

.testimonial-full-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.testimonial-full-avatar svg {
    width: 100%;
    height: 100%;
}

.testimonial-full-content h3 {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-full-content p {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonials-cta {
    background: linear-gradient(135deg, var(--cream-clay) 0%, var(--sandstone) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.testimonials-cta h2 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.testimonials-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-feature {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 998;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 999;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero {
        position: relative;
        top: 0;
    }
    
    .about-image {
        position: relative;
        top: 0;
    }
    
    .profile-circle {
        width: 200px;
        height: 200px;
    }
    
    .highlight-badge {
        padding: 1rem;
    }
    
    .badge-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .badge-text strong {
        font-size: 0.9rem;
    }
    
    .about-story {
        padding: 2rem;
    }
    
    .story-section h3 {
        font-size: 1.5rem;
    }
    
    .story-section p {
        font-size: 1rem;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .why-features {
        grid-template-columns: 1fr;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-logo-watermark {
        max-width: 180px;
        bottom: -150px;
    }
    
    .featured-properties {
        padding-top: 110px;
    }
    
    .carousel-title {
        font-size: 2.5rem;
    }
    
    .carousel-subtitle {
        font-size: 1.2rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
    
    .properties-grid:not(.properties-slider) {
        grid-template-columns: 1fr;
    }
    
    /* Slider responsive adjustments */
    .properties-slider-wrapper {
        padding: 0 50px;
    }
    
    .properties-slider .property-card {
        flex: 0 0 100%;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .profile-circle {
        width: 200px;
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile slider adjustments */
    .properties-slider-wrapper {
        padding: 0 40px;
    }
    
    .properties-slider .property-card {
        flex: 0 0 100%;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .testimonial-full-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    
    .testimonial-full-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
    }
    
    .footer-logo-image {
        width: 30px;
        height: 30px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-logo-watermark {
        max-width: 150px;
        bottom: -115px;
    }
    
    .featured-properties {
        padding-top: 95px;
    }
    
    .carousel-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .carousel-image {
        object-position: center center;
    }
    
    .carousel-content .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .language-toggle {
        justify-content: center;
    }
}
