/* ==================================================
   Tracy Sun Real Estate Website - Main Stylesheet
   ==================================================
   Table of Contents:
   1. CSS Variables & Reset
   2. Base Styles & Typography
   3. Navigation
   4. Hero Section
   5. Awards Section
   6. About Section
   7. Gallery Section
   8. Services Sections
   9. Contact Section
   10. Property Search Modal
   11. Footer
   12. Language Toggle
   13. Animations
   14. Responsive Design
   15. Utility Classes
   ================================================== */

/* ==================================================
   1. CSS Variables & Reset
   ================================================== */
:root {
    /* Colors */
    --primary-color: #C8A882;
    --secondary-color: #2C3E50;
    --accent-color: #E74C3C;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-light: #E9ECEF;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --nav-height: 80px;
    
    /* Border Radius */
    --border-radius: 10px;
    --border-radius-large: 20px;
    --border-radius-full: 50px;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

/* ==================================================
   2. Base Styles & Typography
   ================================================== */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

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

p {
    margin-bottom: 1rem;
}

/* ==================================================
   3. Navigation
   ================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.lang-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==================================================
   4. Hero Section
   ================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--nav-height) + 20px) 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgb(200,168,130);stop-opacity:0.1" /><stop offset="100%" style="stop-color:rgb(200,168,130);stop-opacity:0" /></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23grad1)" /><circle cx="800" cy="800" r="250" fill="url(%23grad1)" /></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: var(--container-padding);
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    z-index: 1;
}

.hero-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.profile-image {
    height: 500px;
    width: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    object-fit: cover;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* ==================================================
   5. Awards Section
   ================================================== */
.awards-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    animation: fadeInUp 1s ease-out 0.5s both;
    margin: 0 20px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.award-info {
    margin-left: 0;
}

.award-badge {
    position: relative;
}

.badge-circle {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    position: relative;
}

.badge-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
}

.award-trophies {
    display: flex;
    gap: 1rem;
}

.trophy-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.trophy-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.trophy-icon:nth-child(3) {
    animation-delay: 0.4s;
}

/* ==================================================
   6. About Section
   ================================================== */
.about {
    padding: var(--section-padding);
    background: var(--background-white);
}

.section-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.achievement-list {
    list-style: none;
    margin: 2rem 0;
}

.achievement-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* ==================================================
   7. Gallery Section
   ================================================== */
.gallery {
    padding: var(--section-padding);
    background: var(--background-white);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--background-light);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

/* ==================================================
   8. Services Sections
   ================================================== */
.services {
    padding: var(--section-padding);
    background: var(--background-light);
}

.services.selling-services {
    background: var(--background-white);
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,168,130,0.1), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================================================
   9. Contact Section
   ================================================== */
.contact {
    padding: var(--section-padding);
    background: var(--background-white);
}

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

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

/* Desktop layout for contact main section */
@media (min-width: 769px) {
    .contact-main {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .contact-details {
        flex: 1;
    }

    .wechat-qr-section {
        flex-shrink: 0;
        margin-top: 0;
    }
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.contact-item:hover strong,
.contact-item:hover p {
    color: white;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-item:hover i {
    color: white;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* WeChat QR Code Styles */
.wechat-qr-section {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.wechat-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    max-width: 250px;
}

.wechat-qr-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.wechat-qr-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 3px solid var(--primary-color);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.wechat-qr-image:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

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

.wechat-qr-text h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.wechat-qr-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Form */
.contact-form-element {
    background: var(--background-light);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form-element input,
.contact-form-element select,
.contact-form-element textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    font-family: inherit;
}

.contact-form-element input:focus,
.contact-form-element select:focus,
.contact-form-element textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200,168,130,0.1);
}

.contact-form-element textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 2rem;
    grid-column: 1 / -1;
}

/* Captcha Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.captcha-container > div:first-child {
    flex: 1;
}

.captcha-container input {
    width: 100%;
}

.captcha-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#captchaImage {
    width: 120px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#captchaImage:hover {
    border-color: var(--primary-color);
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition);
    padding: 2px 4px;
}

.captcha-refresh:hover {
    color: var(--secondary-color);
}

.captcha-text-display {
    background: #f0f0f0;
    padding: 10px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* ==================================================
   10. Property Search Modal
   ================================================== */
.property-search-container {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-search-container.active {
    display: block;
    opacity: 1;
}

.property-search-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    margin-top: 20px;
}

.property-search-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
}

.property-search-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.close-search {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.close-search:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.property-search-iframe {
    width: 100%;
    height: calc(100% - 70px);
    border: none;
    background: white;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ==================================================
   11. Footer
   ================================================== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==================================================
   12. Language Toggle
   ================================================== */
/* Language switching - hide elements based on current language */
body.lang-zh [data-en] {
    display: none;
}

body.lang-zh [data-zh] {
    display: inline;
}

body:not(.lang-zh) [data-zh] {
    display: none;
}

body:not(.lang-zh) [data-en] {
    display: inline;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ==================================================
   14. Responsive Design
   ================================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-light);
        padding: 2rem 0;
        height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .awards-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin: 0 15px;
        padding: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-main {
        flex-direction: column;
        gap: 2rem;
    }

    .wechat-qr-container {
        max-width: 220px;
        padding: 1.5rem;
    }

    .wechat-qr-image {
        width: 120px;
        height: 120px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .property-search-container {
        top: 70px;
    }
    
    .property-search-content {
        margin-top: 10px;
    }
    
    .property-search-header {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    .hero {
        padding: calc(var(--nav-height) + 20px) 15px 30px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .profile-image {
        height: 400px;
    }

    .awards-section {
        padding: 2rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1;
        padding: 1.5rem 1rem;
    }

    .contact-form-element {
        padding: 2rem;
    }

    .captcha-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .captcha-image-container {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .profile-image {
        height: 320px;
    }

    .awards-section {
        padding: 1.5rem;
    }

    .award-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .badge-circle {
        width: 80px;
        height: 80px;
    }

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

    .trophy-icon {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        min-height: 250px;
    }

    .contact-form-element {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .wechat-qr-container {
        max-width: 200px;
        padding: 1.5rem;
    }

    .wechat-qr-image {
        width: 100px;
        height: 100px;
    }

    .wechat-qr-text h4 {
        font-size: 1rem;
    }

    .wechat-qr-text p {
        font-size: 0.8rem;
    }
}

/* ==================================================
   15. Utility Classes
   ================================================== */
/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Hover Effects */
.clickable {
    cursor: pointer;
    transition: var(--transition);
}

.clickable:hover {
    transform: scale(1.02);
}

/* Focus States for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .contact-form,
    .property-search-container {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        min-height: auto;
        page-break-after: avoid;
    }
    
    .section-title {
        page-break-after: avoid;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
} 