/* ===== ELEGANT PREMIUM THEME - ROOT VARIABLES ===== */
:root {
    --primary-color: #1a1a2e;
    --primary-light: #16213e;
    --secondary-color: #0f3460;
    --accent-gold: #d4af37;
    --accent-gold-light: #e8c468;
    --accent-silver: #c0c0c0;
    --dark-navy: #0a0a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #e8c468 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 52, 96, 0.9) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.btn {
    transition: var(--transition-smooth);
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== ELEGANT NAVIGATION ===== */
#mainNav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#mainNav.navbar-dark {
    background: rgba(26, 26, 46, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo-img {
    height: 50px;
    transition: var(--transition-smooth);
    filter: brightness(0) invert(0);
}

#mainNav.navbar-dark .logo-img {
    filter: brightness(0) invert(1);
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05) rotate(2deg);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 0.5rem 1.25rem !important;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

#mainNav.navbar-dark .navbar-nav .nav-link {
    color: var(--white) !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transform: translateX(-50%);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

/* ===== PREMIUM HERO SECTION ===== */
.hero-section {
    background: var(--primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 52, 96, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 52, 96, 0.8) 100%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 2px,
            rgba(212, 175, 55, 0.03) 4px
        );
    z-index: 1;
    animation: lineMove 20s linear infinite;
}

@keyframes lineMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 0; }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

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

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

/* ===== PREMIUM SERVICES SECTION ===== */
#services {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    transition: var(--transition-bounce);
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card ul li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.service-card:hover ul li {
    color: var(--text-dark);
    transform: translateX(5px);
}

/* ===== ELEGANT ABOUT SECTION ===== */
.about-image {
    height: 450px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.05) 10px,
            rgba(212, 175, 55, 0.05) 20px
        );
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.about-overlay {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) brightness(0) invert(1);
    animation: float 6s ease-in-out infinite;
}

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

.about-stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.about-stat h3 {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.about-stat p {
    color: var(--text-muted);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* ===== PREMIUM OFFICE SECTION ===== */
.office-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.office-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.office-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.office-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.office-header h4 {
    margin: 0;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.office-content {
    padding: 2rem;
}

.office-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.office-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.office-content a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.office-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== ELEGANT CONTACT SECTION ===== */
.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-bounce);
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-content h6 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.contact-content p {
    color: var(--text-muted);
    margin: 0.25rem 0;
}

.contact-content a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-content a:hover {
    color: var(--primary-color);
}

.form-control,
.form-select {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0.875rem 1.25rem;
    transition: var(--transition-smooth);
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15);
    background: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ===== PREMIUM FOOTER ===== */
footer {
    background: var(--primary-color) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(212, 175, 55, 0.02) 20px,
            rgba(212, 175, 55, 0.02) 40px
        );
}

footer h5,
footer h6 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    transform: scale(1.05);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
    display: inline-block;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 90px;
    right: 25px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: #ffffff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    margin: 0;
    line-height: 65px;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.btn-lg.rounded-circle {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

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

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

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--accent-gold) !important;
}

.bg-primary {
    background: var(--gradient-gold) !important;
}

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.rounded {
    border-radius: var(--border-radius) !important;
}

.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .office-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .about-image {
        height: 350px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 80px;
        font-size: 26px;
    }
    
    .whatsapp-float i {
        line-height: 55px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
    
    .about-stat {
        padding: 1.5rem;
    }
    
    .about-stat h3 {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .footer-logo {
        height: 45px;
    }
}
