:root {
    --primary: #ffffff;
    --secondary: #f7f3eb;
    --accent: #d4af37;
    --dark: #222222;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Typography & Utilities */
.text-accent { color: var(--accent) !important; }
.bg-secondary-custom { background-color: var(--secondary) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }

/* Buttons */
.btn-gold {
    background-color: var(--accent);
    color: var(--primary);
    border: 2px solid var(--accent);
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

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

.btn-outline-gold {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

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

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 24px;
    color: var(--dark) !important;
    letter-spacing: 1px;
}
.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--primary);
    text-align: center;
}
.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Sections */
.section-padding { padding: 100px 0; }
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* Service Cards */
.service-card {
    background: var(--primary);
    border: 1px solid #eee;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    border-color: var(--accent);
}
.service-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}
.project-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(34, 34, 34, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary);
}
.project-card:hover img { transform: scale(1.1); }
.project-card:hover .project-overlay { opacity: 1; }

/* Testimonials */
.testimonial-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}
.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid var(--accent);
}
.rating { color: var(--accent); margin-bottom: 15px; }

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--primary);
    padding: 60px 0 20px;
}
footer a { color: #ccc; text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--accent); }
.social-links a {
    display: inline-block;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
.social-links a:hover { background: var(--accent); color: var(--primary); }

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.whatsapp-btn { right: 30px; background-color: #25D366; }
.whatsapp-btn:hover { background-color: #128C7E; color: white; transform: scale(1.1); }
.call-btn { right: 100px; background-color: var(--accent); }
.call-btn:hover { background-color: #b8962c; color: white; transform: scale(1.1); }

/* Process */
.process-box {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.process-step {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
}

/* Page Header (Inner pages) */
.page-header {
    background: linear-gradient(135deg, #111111 0%, #222222 100%) !important;
    padding: 140px 0 60px !important;
    text-align: center;
    color: var(--primary) !important;
    margin-top: 0;
}
.page-header h1 { 
    margin-bottom: 10px;
    color: #ffffff !important;
    font-size: 2.8rem;
    font-weight: 700;
}
.page-header p {
    color: #d4af37 !important;
    font-size: 1.1rem;
}


html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Badge Experience Box */
.badge-experience {
    transform: translate(20px, 20px);
}
@media (max-width: 768px) {
    .badge-experience {
        transform: translate(0, 0) !important;
    }
}

/* Disable AOS horizontal overflow on mobile */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
    /* Prevent any container width overflow */
    .container, .container-fluid, .row {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow-x: hidden;
    }

    /* Adjust Hero Section */
    .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 10px;
    }
    .hero-content p {
        font-size: 0.95rem !important;
    }
    .hero-section {
        height: 60vh !important;
    }

    /* Adjust Headings */
    h2 {
        font-size: 1.8rem !important;
    }
    .display-4 {
        font-size: 1.8rem !important;
    }

    /* Adjust Stats */
    .stat-number {
        font-size: 1.8rem !important;
    }

    /* Adjust Floating Buttons */
    .floating-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
        bottom: 20px !important;
        z-index: 9999 !important;
    }
    .whatsapp-btn { right: 15px !important; }
    .call-btn { right: 75px !important; }

    /* Fix Mobile Navbar Overflows */
    .navbar-brand span {
        font-size: 1.1rem !important;
        letter-spacing: 0px !important;
    }
    .dynamic-logo {
        max-height: 40px !important;
    }
    .navbar-toggler {
        padding: 4px 8px;
        font-size: 0.9rem;
    }

    /* Fix Footer Mobile overflow */
    .footer span {
        font-size: 1.1rem !important;
    }

    /* Adjust section paddings */
    .py-5, .section-padding {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}
