/* 
   Top Offer Nation - Bold Nation Design System 
   Theme: Royal Blue, Gold, Red
   Font: Montserrat (Headings), Open Sans (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #003366; /* Royal Blue */
    --secondary-color: #FFD700; /* Gold */
    --accent-color: #CC0000; /* Urgency Red */
    --text-dark: #001A33;
    --text-light: #F4F4F4;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--bg-white) !important;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--bg-white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 1rem;
    position: relative;
}

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

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

.btn-primary-custom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
    border: 2px solid var(--secondary-color);
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 120px 0;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 26, 51, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Cards */
.custom-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.card-icon-wrapper {
    background-color: var(--bg-light);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.card-icon-wrapper i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.custom-card:hover .card-icon-wrapper i {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
}

/* Coupon Cards */
.deal-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-coupon {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-coupon:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.footer-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-padding {
        padding: 60px 0;
    }
}
