/* ============================================
   AJNAF Advertising Landing Page - Styles
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.875rem;
    line-height: 1.3;
}

/* ============================================
   Hero Container
   ============================================ */

.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Dark Overlay for Text Legibility */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* ============================================
   Content Wrapper
   ============================================ */

.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ============================================
   Header Section
   ============================================ */

.header-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out forwards;
}

.header-section h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-section p {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Divider Line
   ============================================ */

.divider {
    width: 96px;
    height: 4px;
    background: linear-gradient(to right, transparent, #fbbf24, transparent);
    margin: 2rem auto;
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

/* ============================================
   Tagline
   ============================================ */

.tagline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

/* ============================================
   Services Grid
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CTA Buttons
   ============================================ */

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background-color: #f59e0b;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* ============================================
   Contact Info
   ============================================ */

.contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info .location {
    font-size: 0.75rem;
    margin-top: 1rem;
}

/* ============================================
   Icon Styles
   ============================================ */

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: center;
}

/* ============================================
   Scroll Indicator
   ============================================ */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

/* ============================================
   Animations
   ============================================ */

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

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

/* ============================================
   Responsive Design - Tablet
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .header-section p {
        font-size: 1.25rem;
    }
}

/* ============================================
   Responsive Design - Mobile
   ============================================ */

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .header-section p {
        font-size: 1.125rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .tagline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .contact-info p {
        font-size: 0.8rem;
    }
}
