/**
 * =====================================================
 * SKYGRAM DIGITAL SERVICES - EXTERNAL STYLESHEET
 * =====================================================
 * File: assets/css/style.css
 * Purpose: Main stylesheet for SkyGram homepage
 * Date: November 13, 2025 (BLACK & WHITE THEME)
 * =====================================================
 */

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999;
    background: #000;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    background: #333;
}

.lang-btn.active {
    background: #fff;
    color: #000;
}

/* ===== HEADER STYLES ===== */
.header {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    border-bottom: 3px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeInLeft 0.6s ease-out;
}

.logo-icon {
    width: 50px;
    height: 50px;
    animation: rotate 20s linear infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.logo p {
    font-size: 14px;
    color: #ccc;
    margin: 5px 0 0 0;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid #ffffff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 80%;
}

.contact-info {
    text-align: right;
    animation: fadeInRight 0.6s ease-out;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

.contact-info strong {
    color: #fff;
}

/* ===== STATUS BANNER ===== */
.status-banner {
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    animation: slideDown 0.5s ease-out;
}

.status-banner .time-info {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

/* ========================================
   QUICK NAVIGATION MENU - BLACK THEME ✅
======================================== */
.quick-nav {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-bottom: 2px solid #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    padding: 0;
    transition: all 0.3s ease;
}

.quick-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.quick-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.quick-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 15px 25px;
    display: inline-block;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.quick-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-bottom-color: #fff;
}

.quick-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-bottom-color: #fff;
}

.quick-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.quick-nav .nav-link:hover::after,
.quick-nav .nav-link.active::after {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: #ccc;
    margin-top: 5px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #000;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border: 2px solid #000;
    padding: 30px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-card .service-name-alt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.service-card:hover .service-name-alt {
    color: #ccc;
}

.service-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-price {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    color: #000;
}

.service-card:hover .service-price {
    color: #fff;
}

.apply-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border: 2px solid #000;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover .apply-btn {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.apply-btn:hover {
    transform: scale(1.05);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
    color: #000;
}

.step-item h4 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #000;
    font-weight: 600;
}

.step-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   FEATURES SECTION - LIGHT GRAY ✅
======================================== */
.features-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #000;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== OPERATING HOURS ===== */
.hours-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #000;
    color: #fff;
    border-radius: 8px;
}

.hours-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.hours-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hours-item {
    text-align: center;
}

.hours-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.hours-item span {
    font-size: 16px;
    color: #ccc;
}

/* ========================================
   CONTACT SECTION - BLACK BACKGROUND ✅
======================================== */
.contact-section {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    padding: 80px 20px;
    color: #fff;
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: #fff !important;
}

.contact-section p {
    color: #e0e0e0;
}

.contact-btn,
.btn-contact,
.contact-button {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover,
.btn-contact:hover,
.contact-button:hover {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #000;
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.map-container {
    border: 3px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: #fff;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.contact-icon {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px 20px;
    border-top: 3px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 14px;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-5px);
}

.scroll-top.show {
    display: flex;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 4px;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== DATABASE STATUS (DEVELOPMENT) ===== */
.db-status {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ===== LOADING ANIMATION ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        top: 60px;
        right: 10px;
        padding: 3px;
    }

    .lang-btn {
        padding: 6px 15px;
        font-size: 12px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
        margin-top: 15px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .how-it-works-section {
        margin: 40px auto;
        padding: 40px 15px;
    }

    .hours-grid {
        flex-direction: column;
        gap: 20px;
    }

    .hours-section {
        margin: 30px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-section {
        padding: 40px 15px;
    }

    .quick-nav-container {
        justify-content: space-between;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .quick-nav .nav-link {
        padding: 12px 15px;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .quick-nav .nav-link {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}

/* ===================================================================
   END OF STYLESHEET - BLACK, WHITE & GREY THEME ONLY
=================================================================== */
