/* style.css */

:root {
    --primary-color: #85bb65; /* Dollar Bill Green */
    --primary-dark: #6a9550;
    --text-light: #f8f9fa;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(15, 23, 42, 0.30);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: sans-serif;
}

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

body, html {
    height: 100%;
    font-family: var(--font-main);
    color: var(--text-light);
    overflow-x: hidden;
    background-color: transparent; /* Fixed: Removed #000 to prevent covering video */
}

/* Background Video Styling */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Fixed: changed from -1 so it doesn't fall behind root */
    overflow: hidden;
}

#bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Ensures video covers whole screen */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.2); /* Much lighter overlay so video is visible */
    z-index: 1;
}

/* App Container */
.app-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism Utilities */
.glass-header, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Header */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent; /* Make header cleaner, remove bulky background */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: var(--text-light);
    text-decoration: none;
}

.logo strong {
    font-weight: 800;
    color: #F59E0B; /* Golden color matching the SVG logo */
    margin-left: 0.4rem;
}

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

.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 5%;
}

.glass-card {
    max-width: 800px;
    width: 100%;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    animation: fadeIn 1s ease-out forwards;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    margin: -1.5rem auto 1rem auto;
    display: block;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.feature-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px; /* Keep it nicely sized */
    margin: 0 auto;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(133, 187, 101, 0.2), rgba(106, 149, 80, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.exchange-widget-container {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.exchange-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.exchange-table th, .exchange-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.exchange-table th {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.exchange-table tr:last-child td {
    border-bottom: none;
}

.currency-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.val {
    font-family: monospace;
    font-size: 1.1rem;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(133, 187, 101, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(133, 187, 101, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.glass-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

/* About/Location Cards Section */
.about-section {
    padding: 2rem 5% 4rem 5%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    width: 100%;
}

.image-card {
    padding: 0; /* Override glass-card-sm padding */
    overflow: hidden;
    gap: 0;
    align-items: flex-start;
    text-align: left;
}

.card-img-wrapper {
    width: 100%;
    position: relative;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 2px solid #ff9f43; /* Subtle accent */
}

.card-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ff9f43;
    color: #000;
    font-weight: 900;
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
}

.card-text {
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
    padding: 0 5% 4rem 5%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
}

.glass-card-sm {
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.glass-card-sm:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 159, 67, 0.15); /* Orange tint */
    color: #ff9f43; /* Screenshot orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details p {
    color: #ff9f43; /* Screenshot orange */
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

.contact-details a {
    color: #ff9f43;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffb169;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-grid, .cards-container {
        grid-template-columns: 1fr;
    }
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 1rem 5%;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    flex: 1;
    min-width: 280px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
}
