/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #ff5602;
    --primary-dark: #e64a00;
    --primary-light: #ff7a33;
    --secondary-color: #1a1a1a;
    --accent-color: #f8f9fa;
    --text-dark: #000000;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #ff5602 0%, #ff7a33 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(255,86,2,0.9) 0%, rgba(255,122,51,0.9) 100%);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 800;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
}

/* ===== CUSTOM UTILITIES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
}

.brand-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

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

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

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/><polygon fill="rgba(255,255,255,0.05)" points="0,1000 0,0 1000,0"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

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

.hero-section h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-medium);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: var(--text-light);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(5px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
}

/* ===== ABOUT SECTION ===== */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.about-image img {
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 86, 2, 0.05) 0%, rgba(255, 122, 51, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.service-icon-container {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.service-icon-wrapper {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 4rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

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

.service-card:hover .service-icon-bg {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.2);
}

/* Premium icon animations */
.service-icon-container {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.service-icon-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover .service-icon-container::before {
    opacity: 1;
    animation: shimmer 0.8s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-icon-wrapper {
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.service-card:hover .service-icon-wrapper {
    animation: pulse 0.6s ease-in-out;
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.service-overlay i {
    font-size: 3rem;
    color: var(--text-light);
}

.service-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.service-content h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.service-card:hover .service-content h4::after {
    width: 60px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.book-now-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 100%;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--primary-dark);
    color: var(--text-light);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    background: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
}

.contact-content h6 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-content a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.125rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--text-light);
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 450px;
}

.map-container iframe {
    border-radius: var(--border-radius-lg);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content h5,
.footer-content h6 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-link:hover {
    color: var(--primary-color);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.footer .social-link:hover {
    background: var(--gradient-primary);
}

/* ===== WHATSAPP MODAL ===== */
.modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--text-light);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-title {
    color: var(--text-light);
    font-weight: 700;
}

.whatsapp-form .form-control,
.whatsapp-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.whatsapp-form .form-control:focus,
.whatsapp-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 86, 2, 0.25);
    outline: none;
}

.whatsapp-form .form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.whatsapp-form .btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-form .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Mobile service grid - 2 columns */
    #services .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 0;
    }
    
    #services .col-lg-3,
    #services .col-md-6 {
        flex: none;
        width: auto;
        padding: 0;
        margin: 0;
    }
    
    .service-card {
        margin-bottom: 0;
        height: 100%;
    }
    
    .service-icon-container {
        height: 120px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-icon-bg {
        width: 80px;
        height: 80px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .service-content h4::after {
        width: 30px;
        height: 2px;
        bottom: -5px;
    }
    
    .service-card:hover .service-content h4::after {
        width: 40px;
    }
    
    .service-features {
        margin-bottom: 1rem;
    }
    
    .service-features li {
        font-size: 0.75rem;
        padding: 0.15rem 0;
        padding-left: 1.2rem;
    }
    
    .book-now-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .footer-content {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-header h2::after {
        width: 40px;
        height: 3px;
    }
    
    /* Extra small mobile adjustments */
    #services .row {
        gap: 0.75rem;
    }
    
    .service-icon-container {
        height: 100px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-icon-bg {
        width: 70px;
        height: 70px;
    }
    
    .service-content {
        padding: 0.75rem;
    }
    
    .service-content h4 {
        font-size: 0.8rem;
    }
    
    .service-features li {
        font-size: 0.7rem;
    }
    
    .book-now-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
    }
}

/* Tablet specific styling */
@media (min-width: 577px) and (max-width: 768px) {
    #services .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    
    #services .col-lg-3,
    #services .col-md-6 {
        flex: none;
        width: auto;
        padding: 0;
    }
    
    .service-icon-container {
        height: 140px;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-content h4 {
        font-size: 1rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 86, 2, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 86, 2, 0.6), 0 0 30px rgba(255, 86, 2, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 86, 2, 0.3);
    }
}

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

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* ===== UTILITY CLASSES ===== */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}