/* Deals Explorer - Vintage Cartography UI */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=IM+Fell+English:ital@0;1&family=Lato:wght@400;700&display=swap');

:root {
    --bg-parchment: #FDF5E6;
    --bg-paper: #F5E6D3;
    --text-brown: #5D4037;
    --accent-gold: #C5A059;
    --accent-ocean: #2F4F4F;
    --accent-red: #8B0000;
    --border-style: 2px solid #8B4513;
}

body {
    background-color: var(--bg-parchment);
    color: var(--text-brown);
    font-family: 'IM Fell English', serif;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+CjxwYXRoIGQ9Ik0wIDBoNTB2NTBIMHoiIGZpbGw9IiNmZGY1ZTYiLz4KPHBhdGggZD0iTTAgNTBMNTAgME0wIDB2NTBoNTAiIHN0cm9rZT0iI2QyYjQ4YyIgc3Ryb2tlLXdpZHRoPSIwLjUiIGZpbGw9Im5vbmUiLz4KPC9zdmc+');
    background-size: 100px 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--accent-ocean);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Utilities */
.text-ocean {
    color: var(--accent-ocean) !important;
}

.bg-ocean {
    background-color: var(--accent-ocean);
    color: #fff;
}

.bg-paper {
    background-color: var(--bg-paper);
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Navbar */
.navbar {
    background-color: var(--bg-paper);
    border-bottom: var(--border-style);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.8rem;
    color: var(--accent-ocean) !important;
    font-weight: bold;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: var(--text-brown) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-red) !important;
    text-decoration: underline;
}

/* Buttons */
.btn-explorer {
    background-color: var(--accent-ocean);
    color: #fff;
    font-family: 'Cinzel Decorative', cursive;
    text-transform: uppercase;
    padding: 10px 30px;
    border: 2px solid var(--text-brown);
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-explorer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transition: left 0.3s;
}

.btn-explorer:hover {
    background-color: var(--text-brown);
    color: var(--accent-gold);
}

.btn-explorer:hover::before {
    left: 0;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0;
    background-image: linear-gradient(rgba(47, 79, 79, 0.8), rgba(47, 79, 79, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    border-bottom: 5px double var(--accent-gold);
    color: #fff;
}

.hero-title {
    font-size: 4rem;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'IM Fell English', serif;
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 3rem;
}

/* Map Cards */
.map-card {
    background-color: var(--bg-paper);
    border: var(--border-style);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.map-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed var(--text-brown);
    pointer-events: none;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    display: inline-block;
    padding: 0 20px;
    background-color: var(--bg-parchment);
    position: relative;
    z-index: 1;
    border-bottom: 3px solid var(--accent-red);
}

.section-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-brown);
    z-index: 0;
}

/* New Sections Styling */
.stat-compass {
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0OCIgc3Ryb2tlPSIjOGI0NTEzIiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNNTAgMTBMNjAgNTBINTAgNDB6IiBmaWxsPSIjOGIwMDAwIi8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-number {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2rem;
    color: var(--text-brown);
    font-weight: bold;
}

.step-scroll {
    background-color: var(--bg-paper);
    border: 1px solid var(--text-brown);
    padding: 2rem;
    position: relative;
    margin-bottom: 2rem;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
}

.step-scroll::before, .step-scroll::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--text-brown);
    border-radius: 5px;
}

.step-scroll::before { top: -5px; }
.step-scroll::after { bottom: -5px; }

.testimonial-parchment {
    background-color: var(--bg-paper);
    border: 1px solid var(--text-brown);
    padding: 2rem;
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1) inset;
}

/* Coupon Code */
.coupon-code {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    background-color: #fff;
    border: 2px dashed var(--accent-red);
    color: var(--text-brown);
    padding: 10px 20px;
    margin: 1rem 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.coupon-code::after {
    content: '\f0c4'; /* FontAwesome scissors */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-red);
}

.coupon-code:hover {
    background-color: var(--bg-parchment);
}

/* Footer */
.footer {
    background-color: var(--accent-ocean);
    color: var(--bg-parchment);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
    border-top: 5px solid var(--accent-gold);
}

.footer h4, .footer h6 {
    color: var(--accent-gold);
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}
