:root {
    --bg-black: #050505;
    --bg-dark-gray: #111111;
    --text-white: #e0e0e0;
    --gold: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #AA8C2C;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.gold-text {
    background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9), transparent);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-icon-fallback {
    display: none;
    /* Hidden by default if image loads */
    font-size: 1.5rem;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.desktop-nav a:hover {
    color: var(--gold);
}

.btn-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1.8rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.4s;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: var(--bg-black);
    box-shadow: 0 0 15px rgba(156, 152, 139, 0.4);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-split {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 0 10%;
    z-index: 2;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%);
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 640px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.screen-container {
    width: 100%;
    height: 100%;
    /* background: #000; */
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges */
.app-badges {
    display: flex;
    gap: 1.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #333;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.badge:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.badge i {
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 700;
}

.section-dark {
    padding: 6rem 0;
    background-color: var(--bg-dark-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
    border: 1px solid transparent;
}

.feature-box:hover {
    border-color: var(--gold-dark);
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 2rem;
}

.feature-box h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.section-showcase {
    padding: 6rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.showcase-item img {
    max-width: 100%;
    border-radius: 20px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
    /* border: 2px solid #222; */
    transition: 0.3s;
}

.showcase-item:hover img {
    transform: scale(1.02);
    border-color: var(--gold-dark);
}

.caption {
    margin-top: 1rem;
    font-family: var(--font-heading);
    color: var(--text-white);
}

/* Quote */
.quote-section {
    padding: 6rem 10%;
    text-align: center;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    font-style: normal;
    color: #666;
}

.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg-dark-gray);
}

.center-badges {
    justify-content: center;
    margin-top: 2rem;
}

.badge-large {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--bg-black);
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.badge-large:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Contact Page Styles */
.contact-section {
    padding: 8rem 0;
    min-height: 80vh;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #222;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: #050505;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid #222;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: #888;
    transition: 0.3s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.2rem;
    color: #888;
    padding: 0.5rem;
    border: 1px solid #333;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .desktop-nav {
        display: none;
        /* Hide default nav */
    }

    .desktop-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        padding: 1.5rem;
        border-bottom: 1px solid #222;
        gap: 1.5rem;
        backdrop-filter: blur(10px);
    }

    .mobile-menu-toggle {
        display: block;
        color: var(--gold);
    }

    .hero-split {
        flex-direction: column;
    }

    .hero-content {
        padding: 2rem 5%;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-image {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .app-badges {
        justify-content: center;
    }
}

/* Scroll Animations - Global */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .badge-large {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .app-badges.center-badges {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

.glow-effect {
    animation: pulse-glow 4s infinite ease-in-out;
}


/* 1. Phone Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.phone-mockup {
    /* Inherit existing styles */
    animation: float 6s ease-in-out infinite;
}

/* 2. Icon Spin on Hover */
.feature-box:hover .icon-circle i {
    transform: rotateY(180deg);
    transition: transform 0.6s;
}

/* 3. Button Shine Effect */
.btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-gold:hover::after {
    left: 100%;
}

/* 5. Button Pulse Effect */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.pulse-btn {
    animation: pulse-btn 2s infinite;
}

/* Why Salah Times Section */
.why-section {
    padding: 6rem 0;
    background-color: #080808;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.feature-card h3 {
    color: var(--text-light);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-circle {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
