/* 
   style.css 
   Generated based on Design Analysis: Modern Luxury Real Estate / Enterprise Template
*/

/* 1. CSS Variables Definition */
:root {
    /* Colors */
    --primary-color: #D4AF37; /* Champagne Gold */
    --primary-hover: #B8962E;
    --secondary-color: #0A0A0A; /* Charcoal Black */
    --bg-warm: #F9F7F2; /* Warm Beige / Off-white */
    --bg-white: #FFFFFF;
    --text-main: #1A1A1A; /* Deep Black for headings */
    --text-muted: #666666; /* Mid Gray for body */
    --border-light: #E0DCD0;
    
    /* Typography */
    --font-serif: "Playfair Display", "Times New Roman", serif;
    --font-sans: "Montserrat", "Poppins", Arial, sans-serif;
    
    /* Spacing & Transitions */
    --section-padding: 100px 10%;
    --container-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 4px; /* Minimalist small radius */
}

/* 2. Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-warm);
    color: var(--text-muted);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-main);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

/* Section Common Styling */
section {
    padding: var(--section-padding);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #FFF;
}

/* 3. Component Styles */

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('hero-bg.jpg') center/cover no-repeat;
    color: #FFF;
    padding: 0 10%;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #FFF;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Zig-zag Layout (Our Story) */
.zigzag-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.zigzag-item:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-content, .zigzag-image {
    flex: 1;
}

/* Grid System (Expertise / Landlord) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Cards */
.card {
    background: var(--bg-white);
    padding: 40px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.price-card {
    text-align: center;
    border: 1px solid var(--border-light);
}

.price-card.featured {
    background: var(--secondary-color);
    color: #FFF;
    transform: scale(1.05);
}

.price-card.featured h3, .price-card.featured .price {
    color: var(--primary-color);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
}

/* Footer Styles */
footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.7);
    padding: 80px 10% 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-form input, .footer-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
    color: #FFF;
    margin-bottom: 20px;
    font-family: var(--font-sans);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* 4. Utility Classes */
.text-gold { color: var(--primary-color); }
.text-center { text-align: center; }
.uppercase-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
}
.mb-20 { margin-bottom: 20px; }
.mb-50 { margin-bottom: 50px; }

/* 5. Responsive Media Queries */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 5%;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zigzag-item {
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* In a real project, replace with a hamburger menu */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .zigzag-item, .zigzag-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    header {
        background: #FFF;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* 6. Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}