/* 
 * CARLINA HOME REMODELING - PREMIUM THEME
 * Modern SaaS-inspired Glassmorphism Design
 */

:root {
    --primary: #2d3436;
    --accent: #d4af37; /* Gold/Bronze for Luxury */
    --accent-glow: rgba(212, 175, 55, 0.4);
    --bg-dark: #0f1115;
    --bg-gradient: linear-gradient(135deg, #0f1115 0%, #1a1d24 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 30px var(--accent-glow); }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }

.btn-glow {
    background: linear-gradient(90deg, var(--accent), #f0c040);
    color: #000;
    border: none;
}

/* Glass Card Component */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #4a90e2; bottom: 10%; left: -50px; animation-delay: 2s; }
.shape-3 { width: 200px; height: 200px; background: #9b59b6; top: 40%; right: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-text { font-size: 1.25rem; max-width: 700px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 60px; }

.trust-indicators { display: flex; gap: 50px; padding-top: 40px; border-top: 1px solid var(--glass-border); }
.trust-item h3 { font-size: 2.5rem; color: #fff; margin-bottom: 0; }
.trust-item p { font-size: 0.9rem; margin-bottom: 0; text-transform: uppercase; letter-spacing: 1px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.feature-list { list-style: none; margin-top: 20px; padding-left: 0; }
.feature-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.feature-list li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }

/* Process Timeline */
.timeline { display: flex; justify-content: space-between; position: relative; margin-top: 60px; flex-wrap: wrap; gap: 30px; }
.timeline::before {
    content: ''; position: absolute; top: 30px; left: 0; width: 100%; height: 2px;
    background: var(--glass-border); z-index: 0;
}
.timeline-item { position: relative; z-index: 1; flex: 1; min-width: 200px; text-align: center; }
.step-number {
    width: 60px; height: 60px; background: var(--bg-dark); border: 2px solid var(--accent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--accent); margin: 0 auto 20px; font-size: 1.2rem;
}

/* Article Section */
.article-container { max-width: 800px; }
.article-title { margin-bottom: 40px; font-size: 2.5rem; }
.article-content h2 { margin-top: 50px; margin-bottom: 20px; color: #fff; }
.article-content h3 { margin-top: 30px; color: var(--accent); }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: #fff; }

.callout-box {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.comparison-table-wrapper { overflow-x: auto; margin: 40px 0; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { color: var(--accent); font-weight: 600; }
.comparison-table tr:hover { background: rgba(255,255,255,0.02); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 15px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar {
    width: 45px; height: 45px; background: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #000; font-weight: 700;
}
.client-info span { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-container { max-width: 800px; margin: 50px auto 0; }
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 10px;
}
.faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; margin-bottom: 0; }

/* Contact Section */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px; }
.info-item { margin-bottom: 25px; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 5px; }
.info-item a, .info-item p { font-size: 1.2rem; color: #fff; margin-bottom: 0; }
.map-btn { margin-top: 20px; text-align: center; display: block; }

.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 20px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border); border-radius: 12px; color: #fff;
    font-family: var(--font-body); font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.05); }

/* Footer */
.site-footer { background: #0a0c10; padding: 80px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.brand-col p { margin-top: 15px; font-size: 0.95rem; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); font-size: 0.85rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; gap: 40px; }
    .timeline-item { text-align: left; display: flex; align-items: center; gap: 20px; }
    .step-number { margin: 0; flex-shrink: 0; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: rgba(15, 17, 21, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .hero-btns { flex-direction: column; }
    .hero-btns a { text-align: center; }
    .trust-indicators { flex-direction: column; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
    .glass-card { padding: 25px; }
}

/* Animation Classes */
.animate-fade-up { animation: fadeUp 0.8s forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }