/* ==========================================
   REVOL ENTERPRISE - PROFESSIONAL STYLESHEET
   ========================================== */

/* === ROOT VARIABLES === */
:root {
    /* Colors */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-soft: #dbeafe;
    
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Effects */
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    color: var(--text-muted);
    line-height: 1.7;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === UTILITIES === */
.section-padding {
    padding: var(--section-padding) 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* === NAVIGATION === */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: var(--bg-white);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 20px;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

/* === BUTTONS === */
.btn {
    padding: 12px 28px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

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

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.bg-primary-soft {
    background: var(--primary-soft);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    top: -400px;
    right: -200px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-stats {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.hero-image {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.hero-logo-large {
    max-width: 450px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(30, 64, 175, 0.2));
    animation: float 6s ease-in-out infinite;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === INFO CARDS === */
.info-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.info-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-icon-wrapper i {
    font-size: 2.2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* === PRODUCT CATEGORY CARDS === */
.product-category-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
}

.product-category-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.category-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.category-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.product-item-compact:hover {
    background: var(--primary-soft);
    transform: translateX(5px);
}

.product-item-compact i {
    font-size: 1.1rem;
    color: var(--success-color);
}

.product-item-compact span {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* === TECH CARDS === */
.tech-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    height: 100%;
}

.tech-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.capability-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.capability-item i {
    font-size: 1.2rem;
    color: var(--success-color);
}

.capability-item span {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* === FACILITY VIDEO === */
.facility-video-container {
    background: var(--bg-white);
    padding: 15px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 380px;
    margin: 0 auto;
    transition: var(--transition);
}

.facility-video-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.facility-video {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: var(--radius);
    display: block;
    object-fit: cover;
    aspect-ratio: 9 / 16;
    background: #000;
}

.facility-content h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-dark);
}

.facility-content .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-item-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.feature-item-simple:hover {
    background: var(--primary-soft);
}

.feature-item-simple i {
    font-size: 1.2rem;
}

.feature-item-simple span {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* === WHY CHOOSE US === */
.why-choose-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i {
    font-size: 2rem;
    color: white;
}

.why-choose-card h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-choose-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* === CONTACT CARDS === */
.contact-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    display: inline-block;
    margin: 5px 0;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* === CONTACT FORM === */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.1);
}

.form-control-lg {
    padding: 14px 20px;
    font-size: 1rem;
}

/* === MAP === */
.map-wrapper {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand h5 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer h6 {
    color: white;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .section-padding {
        padding: var(--section-padding-mobile) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-logo-large {
        max-width: 300px;
        margin-top: 40px;
    }
    
    .facility-video-container {
        max-width: 320px;
        margin-bottom: 30px;
    }
    
    .facility-video {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .facility-video-container {
        max-width: 280px;
    }
    
    .facility-video {
        max-height: 450px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .info-card,
    .service-card,
    .product-category-card,
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .facility-video-container {
        max-width: 260px;
        padding: 12px;
    }
    
    .facility-video {
        max-height: 400px;
    }
}

/* === CUSTOM CURSOR (OPTIONAL - MINIMAL) === */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none;
    }
    
    .custom-cursor {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--primary-color);
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transition: transform 0.2s ease;
    }
    
    .cursor-follower {
        width: 40px;
        height: 40px;
        border: 2px solid var(--primary-color);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9998;
        opacity: 0.5;
        transition: transform 0.3s ease;
    }
}
/* === PRODUCT IMAGE CARDS === */
.product-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 350px;
    background: var(--bg-white);
}

.product-image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.product-image-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay-content {
    color: white;
    text-align: center;
}

.product-overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.9;
}

.product-overlay-content h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
    font-weight: var(--font-weight-bold);
}

.product-overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* === PRODUCT CATEGORY CARD WITH IMAGE === */
.product-category-card-detailed {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.product-category-card-detailed:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.product-category-card-detailed:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 30px;
}

.product-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.product-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.product-tag:hover {
    background: var(--primary-soft);
    transform: translateX(5px);
}

.product-tag i {
    color: var(--success-color);
    font-size: 1rem;
}

.product-tag span {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* === PRODUCT CTA === */
.product-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    color: white;
}

.product-cta h3 {
    color: white;
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
}

.product-cta .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.product-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.product-cta .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
}

.product-cta .btn-outline-primary {
    border-color: white;
    color: white;
}

.product-cta .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* === RESPONSIVE PRODUCTS === */
@media (max-width: 768px) {
    .product-image-card {
        height: 280px;
    }
    
    .product-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .category-image {
        height: 180px;
    }
    
    .product-cta {
        padding: 40px 25px;
    }
    
    .product-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-image-card {
        height: 250px;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .product-overlay {
        padding: 20px 15px;
    }
    
    .product-overlay-content i {
        font-size: 2rem;
    }
    
    .product-overlay-content h4 {
        font-size: 1.1rem;
    }
}
