/* assets/css/style.css */

/* Define variables for a consistent, premium color palette */
:root {
    --primary-color: #721c24;    /* Rich Burgundy/Crimson */
    --primary-dark: #491217;     /* Deep Crimson */
    --accent-gold: #cfa135;      /* Warm Ochre/Gold */
    --accent-gold-light: #f7e7c4; /* Soft Gold Light */
    --bg-cream: #faf7f2;         /* Warm Off-White / Rice Cream */
    --text-dark: #2d3748;        /* Soft Charcoal */
    --text-light: #ffffff;
    --text-muted: #718096;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Typography styling for a hand-crafted look */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* Custom section styling */
section {
    position: relative;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    position: relative;
    font-weight: 800;
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 15px;
}

.section-title.center::after {
    margin: 15px auto 0;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* Custom Navigation Bar Styling */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 3px solid var(--accent-gold);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand-text {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--accent-gold) !important;
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.navbar-brand-subtext {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    line-height: 1;
    font-weight: 600;
    margin-top: 2px;
}

.navbar-custom .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    margin: 0 4px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(114, 28, 36, 0.04);
}

/* Custom Hero Layout */
.hero-custom {
    position: relative;
    background: linear-gradient(135deg, rgba(73, 18, 23, 0.95), rgba(114, 28, 36, 0.85)), url('../images/hero_pattern.svg');
    padding: 140px 0;
    color: var(--text-light);
    border-bottom: 5px solid var(--accent-gold);
}

.hero-custom h1 {
    color: var(--text-light);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-custom p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #f7fafc;
    max-width: 750px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

/* Serene buttons */
.btn-premium-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 30px;
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-premium-gold:hover {
    background-color: transparent;
    color: var(--accent-gold) !important;
    box-shadow: 0 4px 20px rgba(207, 161, 53, 0.2);
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--text-light) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 30px;
    border: 2px solid var(--text-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color) !important;
}

.btn-premium-maroon {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-premium-maroon:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(114, 28, 36, 0.2);
}

/* Content cards */
.custom-card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-top: 4px solid var(--accent-gold);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.custom-card .card-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(207, 161, 53, 0.08);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.custom-card:hover .card-icon-wrapper {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

/* Feature block / highlights */
.highlight-panel {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(114, 28, 36, 0.06);
    overflow: hidden;
}

.stat-box-custom {
    background-color: rgba(114, 28, 36, 0.03);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    padding: 24px;
}

/* Newspaper frame style */
.newspaper-card {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.06);
}

.newspaper-image-container {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.newspaper-image-container img {
    width: 100%;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.newspaper-image-container:hover img {
    transform: scale(1.03);
}

.zoom-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0.85;
}

/* Custom interactive input styling */
.form-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px;
}

.form-card .form-control, 
.form-card .form-select {
    background-color: #fafbfc;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-card .form-control:focus, 
.form-card .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(114, 28, 36, 0.08);
}

.form-card label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4a5568;
    margin-bottom: 8px;
}

/* Footer Section Styles */
.footer-custom {
    background-color: #270609;
    color: #cbd5e0;
    border-top: 5px solid var(--accent-gold);
    padding: 80px 0 0;
}

.footer-custom h5 {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.footer-custom a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: var(--accent-gold);
}

.footer-custom .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.footer-custom .social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom-custom {
    background-color: #1a0305;
    padding: 24px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-custom {
        padding: 100px 0;
        text-align: center;
    }
    .hero-custom h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 575px) {
    .hero-custom h1 {
        font-size: 2.1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .form-card {
        padding: 24px;
    }
}

/* Hero Carousel Styling */
.hero-carousel-wrapper {
    position: relative;
    border-bottom: 5px solid var(--accent-gold);
    overflow: hidden;
}

.hero-carousel-wrapper .carousel-control-prev,
.hero-carousel-wrapper .carousel-control-next {
    z-index: 15 !important;
}

.hero-carousel-wrapper .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .hero-carousel-wrapper .carousel-item {
        height: 500px;
    }
    .hero-overlay-content h1 {
        font-size: 2.6rem;
    }
    .hero-overlay-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .hero-carousel-wrapper .carousel-item {
        height: 420px;
    }
    .hero-overlay-content h1 {
        font-size: 1.9rem;
    }
    .hero-overlay-content p {
        font-size: 0.95rem;
    }
}
