/* ROOT VARIABLES & RESET */
:root {
    --bg-dark: #090b11;
    --bg-card: #141722;
    --gold: #d4af37;
    --gold-hover: #f3cd65;
    --text-main: #ffffff;
    --text-muted: #8a94a6;
    --border-glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: url('https://grains.com/noise.png'); /* Use a tiny 50x50 noise tile */
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

h1, h2 {
    background: linear-gradient(180deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-gold:hover i {
    transform: translateX(5px);
    transition: 0.3s;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold);
    z-index: 1001;
}


.back-to-top {
    position: fixed;
    bottom: 110px; /* Above the WhatsApp button */
    right: 30px;
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* HELPER UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-weight: 800;
}

/* STICKY HEADER & NAVBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(9, 11, 17, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-gold {
    background-color: var(--gold);
    color: #0b0c10;
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.05), transparent 60%);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* STATS SECTION */
.stats {
    padding: 5rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* SERVICES */
.services-summary, .all-services {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-text {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* WHY CHOOSE & GLASS BOX */
.why-choose {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-choose p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.feature-list li i {
    color: var(--gold);
}

.glass-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.glass-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(212, 175, 55, 0.1);
    filter: blur(50px);
    border-radius: 50%;
}

.accent-box h3 {
    margin-bottom: 1rem;
}

.accent-box p {
    margin-bottom: 2rem;
}

/* TESTIMONIALS */
.testimonials {
    padding: 8rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 6px;
    border-left: 3px solid var(--gold);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client {
    display: flex;
    flex-direction: column;
}

.client strong {
    color: var(--text-main);
}

.client span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* PAGE HEADERS (INNER PAGES) */
.page-hero {
    padding: 12rem 0 6rem 0;
    background: linear-gradient(rgba(0,0,0,0.5), var(--bg-dark)), radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 50%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 6rem 0;
}

/* FORMS & CONTACT */
.contact-section {
    padding: 6rem 0;
}

.info-block {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-block i {
    font-size: 1.8rem;
    color: var(--gold);
}

.info-block h4 {
    margin-bottom: 0.3rem;
}

.info-block p {
    color: var(--text-muted);
}

.map-embed {
    margin-top: 2rem;
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    overflow: hidden;
}

.form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold);
    outline: none;
}

.alert.success {
    background-color: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid rgba(46, 213, 115, 0.3);
    margin-bottom: 2rem;
}

/* FOOTER */
footer {
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--border-glass);
    background-color: var(--bg-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-grid h4 {
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ANIMATIONS: Intersection Observer setup */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HAMBURGER FOR MOBILE */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: var(--transition);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .grid-2, .services-grid-3, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In production JS toggles this active for menu */
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 2rem;
        background: var(--bg-card);
        width: 200px;
        padding: 2rem;
        border: 1px solid var(--border-glass);
        border-radius: 6px;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
}