/* ============================================
   THE FLOOR COLLECTIVE - ULTRA PREMIUM STYLES
   Curated Luxury Living in DLF Gurgaon
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    /* Ultra Premium Color Palette */
    --color-bg-primary: #FAFAF8;        /* Warm off-white */
    --color-bg-secondary: #F5F0E8;      /* Warm beige */
    --color-bg-card: #FFFFFF;           /* Pure white cards */
    --color-text-primary: #1A1A1A;      /* Deep charcoal */
    --color-text-secondary: #4A4A4A;    /* Medium grey */
    --color-text-light: #888888;        /* Light grey */
    --color-accent-gold: #C9A96E;       /* Refined gold */
    --color-border: #E8E0D4;            /* Warm border */
    
    /* Premium Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--color-text-primary);
    line-height: 1.3;
}

h1 {
    font-size: 64px;
    margin-bottom: 24px;
}

h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
}

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

/* === SECTION LABELS (Eyebrows) === */
.section-label {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

/* === CONTAINER === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* === SECTIONS === */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--color-bg-secondary);
}

/* Section Headings with Gold Underline */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-accent-gold);
    margin: 24px auto 0;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    font-weight: 400;
}

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

.nav-menu a {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gold);
    transition: var(--transition-smooth);
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.2));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
}

.hero-accent {
    width: 60px;
    height: 1px;
    background: var(--color-accent-gold);
    margin: 0 auto 32px;
}

.hero h1 {
    color: white;
    font-size: 64px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 48px;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 16px 48px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--color-text-primary);
    color: white;
    border-radius: 2px;
}

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

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 2px;
}

.btn-outline-light:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-accent-gold);
    border: 1px solid var(--color-accent-gold);
    border-radius: 2px;
}

.btn-outline-gold:hover {
    background: var(--color-accent-gold);
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === OUR EXPERTISE (4 Columns) === */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.expertise-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
}

.expertise-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-accent-gold);
}

.expertise-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 48px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--color-accent-gold);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
    margin: 24px 0;
}

.service-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-gold);
}

/* === PROJECTS / PORTFOLIO === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.project-card {
    background: var(--color-bg-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.project-card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-info {
    padding: 32px;
}

.project-tag {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 12px;
    display: inline-block;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.project-info p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* === WHY CHOOSE US === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-accent-gold);
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* === ABOUT PAGE === */
.founders-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.founders-tagline {
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.vision-quote {
    font-family: var(--font-heading);
    font-size: 32px;
    font-style: italic;
    color: var(--color-text-primary);
    max-width: 700px;
    margin: 48px auto;
    position: relative;
    padding: 0 48px;
}

.vision-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 72px;
    color: var(--color-accent-gold);
    font-family: Georgia, serif;
}

.vision-quote::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -40px;
    font-size: 72px;
    color: var(--color-accent-gold);
    font-family: Georgia, serif;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 32px;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-accent-gold);
}

/* === CONTACT PAGE === */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    background: var(--color-bg-primary);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* === WHATSAPP BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-text-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse-gold 2s infinite;
}

.whatsapp-float:hover {
    background: var(--color-accent-gold);
    transform: scale(1.1);
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(201, 169, 110, 0);
    }
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent-gold);
    color: white;
}

/* === FOOTER === */
footer {
    background: var(--color-text-primary);
    color: var(--color-text-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-accent-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--color-accent-gold);
    margin-bottom: 16px;
}

.footer-tagline {
    font-style: italic;
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.footer-section h4 {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    font-size: 14px;
    color: var(--color-text-light);
}

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

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

.footer-bottom p {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.footer-founders {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* === DECORATIVE DIVIDERS === */
.section-divider {
    text-align: center;
    margin: 60px 0;
    color: var(--color-accent-gold);
    font-size: 18px;
    letter-spacing: 0.3em;
}

/* === RESPONSIVE === */

/* Tablet (below 1024px) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portfolio page alternating layouts */
    section > div > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    section > div > div[style*="grid-template-columns: 1fr 1fr"] > div[style*="order"] {
        order: 0 !important;
    }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg-primary);
        flex-direction: column;
        gap: 0;
        padding: 24px;
        border-top: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .expertise-grid,
    .services-grid,
    .projects-grid,
    .features-grid,
    .values-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .vision-quote {
        font-size: 24px;
        padding: 0 32px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .expertise-card,
    .service-card {
        padding: 32px 20px;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-accent-gold);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* === LOADING === */
.loading {
    opacity: 0;
}

.loaded {
    opacity: 1;
    transition: opacity 0.6s ease-in;
}