/* 
   Super Home Interiors - Premium Style System
   Colors: White, Beige, Wood Texture, Soft Gold
   Typography: Playfair Display (Serif), Inter (Sans)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-white: #FFFFFF;
    --bg-beige: #F8F5F0;
    --text-dark: #1C1C1C;
    --text-muted: #666666;
    --accent: #8B6F47; /* Bronze/Wood */
    --accent-light: #C4A484;
    --gold: #D4AF37;
    --line: rgba(28, 28, 28, 0.1);
    
    --container-max: 1400px;
    --section-spacing: 160px;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

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

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

@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }
    .container {
        padding: 0 20px;
    }
}

/* Typography Scale */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; }
.label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; opacity: 0.6; display: block; margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.btn-primary:hover {
    background: var(--text-dark);
}

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

.btn-outline:hover {
    border-color: var(--text-dark);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 40px;
    flex: 2;
    justify-content: center;
}

.header-cta {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: 0.3s;
}

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

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
        box-shadow: -20px 0 60px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 150px;
    background-color: var(--bg-beige);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-image-wrap {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80vh;
    border-radius: 400px 0 0 400px;
    overflow: hidden;
    z-index: 1;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-image-wrap {
        position: relative;
        width: 100%;
        height: 50vh;
        border-radius: 0;
        transform: none;
        margin-top: 50px;
    }
    .hero {
        height: auto;
        padding-bottom: 100px;
        flex-direction: column;
    }
}

/* Trust Stats */
.trust-stats {
    padding: 80px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Section Templates */
.section {
    padding: var(--section-spacing) 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-beige);
    padding: 50px 40px;
    transition: 0.4s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background: white;
    border-color: var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Portfolio Preview */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: white;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        height: 400px;
    }
}

/* Footer */
footer {
    background: var(--bg-beige);
    padding: 100px 0 50px;
    margin-top: 100px;
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 30px;
}

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

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.contact-info li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.7;
    display: flex;
    gap: 10px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

/* Mobile Fixes */
@media (max-width: 768px) {
    h1 { font-size: clamp(2.2rem, 8vw, 3rem) !important; }
    
    .desktop-only { display: none !important; }
    
    .mobile-center {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 16px !important;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 20px;
    }

    .mobile-sticky-cta {
        display: flex !important;
    }

    body {
        padding-bottom: 70px;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 998;
}
.mobile-cta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    border-right: 1px solid var(--line);
}
.mobile-cta-item:last-child {
    border-right: none;
}
.mobile-cta-item svg, .mobile-cta-item i {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

/* Mega Menu Fix */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: white;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 40px 0;
}

.has-dropdown {
    position: relative;
}

.has-dropdown:hover .mega-menu {
    display: block;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.mega-menu-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mega-link-item {
    padding: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.mega-link-item:hover {
    border-color: var(--line);
    background: var(--bg-beige);
}

.mega-link-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.mega-link-item p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}
/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    padding: 30px 20px;
    border-top: 2px solid var(--line);
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-serif);
    opacity: 0.2;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}
/* Header z-index fix */
header {
    z-index: 1100;
}

.has-dropdown {
    position: static;
}

.mega-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
}
/* Hero content alignment fix */
.hero-content {
    padding-left: 0;
    text-align: left;
    align-items: flex-start;
}

.hero .label,
.hero h1,
.hero p {
    text-align: left;
}
/* Hero left alignment fix */
.hero-content {
    text-align: left !important;
    align-items: flex-start !important;
}

.hero .container {
    width: 100%;
}
/* Hero image z-index fix */
.hero-image-wrap {
    z-index: 1;
}
