/* ==========================================
   Expert Flag & Coin - Main Stylesheet
   Navy Blue & Gold Theme
   ========================================== */

/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --primary-navy: #001f3f;
    --dark-navy: #001528;
    --light-navy: #003366;
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --light-gold: #FFEC8B;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #CCCCCC;
    --dark-gray: #666666;
    --success: #28a745;
    --danger: #dc3545;
    --shadow: rgba(0, 31, 63, 0.1);
    --shadow-lg: rgba(0, 31, 63, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================
   Container & Utilities
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-navy);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    background: var(--primary-navy);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.admin-link {
    padding: 8px 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
}

.admin-link:hover {
    background: var(--gold);
    color: var(--primary-navy);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,215,0,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gold);
    margin-bottom: 25px;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-location i {
    color: var(--gold);
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gold);
    text-align: center;
}

/* ==========================================
   Products Section
   ========================================== */
.products {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-navy), var(--light-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    font-size: 2.5rem;
    color: var(--gold);
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.product-time i {
    color: var(--gold);
}

/* ==========================================
   Loyalty Rewards Section
   ========================================== */
.rewards {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reward-card {
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.reward-card.highlight {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--light-navy) 100%);
}

.reward-card.highlight h3,
.reward-card.highlight p {
    color: var(--white);
}

.reward-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-card.highlight .reward-icon {
    background: var(--white);
}

.reward-icon i {
    font-size: 2.5rem;
    color: var(--primary-navy);
}

.reward-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.reward-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.reward-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--primary-navy);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==========================================
   Custom Process Section
   ========================================== */
.process {
    padding: 100px 0;
    background: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gold);
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-navy), var(--light-navy));
    color: var(--gold);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px var(--shadow);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ==========================================
   Reviews Section
   ========================================== */
.reviews {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
}

.reviews .section-header h2 {
    color: var(--white);
}

.reviews .section-header p {
    color: var(--light-gold);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.review-stars i {
    color: var(--gold);
    font-size: 1.2rem;
}

.review-text {
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-author strong {
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.review-author span {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question i {
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 30px 25px;
    color: var(--dark-gray);
    line-height: 1.8;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 50px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-answer strong {
    color: var(--primary-navy);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--light-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-details a {
    color: var(--gold);
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid var(--success);
    color: var(--success);
}

.form-message i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-message p {
    font-weight: 600;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-section p {
    color: var(--light-gold);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

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

.footer-section ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-section ul li i {
    color: var(--gold);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
    text-align: center;
    color: var(--light-gold);
}

.footer-bottom a {
    color: var(--gold);
    margin-left: 10px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .products-grid,
    .rewards-grid,
    .process-timeline,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--primary-navy);
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-grid,
    .rewards-grid,
    .process-timeline,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}