/**
 * SRGROUPSECURITYSYSTEM - Main Website Styles
 */

:root {
    --primary-color: #1a237e;
    --primary-light: #283593;
    --primary-dark: #0d1642;
    --secondary-color: #ff6f00;
    --secondary-light: #ff9800;
    --accent-color: #00bcd4;
    --success-color: #4caf50;
    --whatsapp-color: #25D366;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: transparent;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--secondary-color);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.btn-admin-login {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-admin-login:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 126, 0.85);
    z-index: -1;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 100px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--secondary-color);
    border: none;
}

.hero-buttons .btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.4);
}

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

/* ============================================
   QUICK SERVICES
   ============================================ */

.quick-services {
    background: var(--bg-light);
}

.quick-service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.quick-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.quick-service-card .service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.quick-service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.quick-service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section-header {
    margin-bottom: 50px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: 80px 0;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon-large {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 5px 0;
    color: var(--text-light);
}

.service-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.btn-service {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-service:hover {
    color: var(--secondary-color);
}

/* Service Modal */
.service-modal-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.whatsapp-inquiry {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.whatsapp-inquiry h6 {
    margin-bottom: 15px;
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.product-category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

.category-content {
    padding: 30px;
}

.category-content h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.category-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.category-features li {
    padding: 5px 0;
    color: var(--text-light);
}

.category-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

/* Product Item in Modal */
.product-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-item h6 {
    margin-bottom: 5px;
}

.product-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us-section {
    padding: 80px 0;
}

.why-us-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.why-us-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-us-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-us-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    padding: 80px 0;
}

.cta-box {
    color: var(--white);
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    margin: 5px;
}

.cta-buttons .btn-light {
    color: var(--secondary-color);
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

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

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form-wrapper h4 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: var(--transition);
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.contact-form-wrapper .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
}

.contact-form-wrapper .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-about h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about h4 i {
    color: var(--secondary-color);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

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

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

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

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .btn-admin-login {
        margin-top: 15px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.service-card,
.product-category-card,
.why-us-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
