/* Custom CSS for Mrs. Kansas American 2025 */

/* Color Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-red: #dc2626;
    --light-red: #fef2f2;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #1f2937;
    --text-gray: #6b7280;
    --mobile-menu-height: 280px; /* Adjust based on your mobile menu height */
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    transition: padding-top 0.3s ease;
}

/* Mobile menu open state - push content down */
body.mobile-menu-open {
    padding-top: var(--mobile-menu-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-red) !important;
}

.navbar-nav .nav-link.active {
    color: var(--accent-red) !important;
    font-weight: 600;
}

/* Mobile navbar specific styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        transition: all 0.3s ease;
    }
    
    .navbar-collapse.show {
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        margin-top: 0.5rem;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.3"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.3"/><circle cx="90" cy="90" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.1;
}

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

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
    max-height: 500px;
    width: 100%;
}

.hero-placeholder img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Image Card Styling */
.hero-image-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
    border-radius: 15px 15px 0 0;
    opacity: 0.8;
}

.hero-image-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
    max-height: 450px;
}

.hero-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.hero-image-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.about-placeholder {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    border: 2px dashed var(--text-gray);
}

.stat-item {
    padding: 1rem;
    border-radius: 10px;
    background: var(--light-gray);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Timeline Cards */
.timeline-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--accent-red);
}

.timeline-icon {
    transition: transform 0.3s ease;
}

.timeline-card:hover .timeline-icon {
    transform: scale(1.1);
}

/* Achievement Stats */
.achievement-stats .stat-item {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.achievement-stats .stat-item:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

/* Social Links Large */
.social-links-large .btn {
    transition: all 0.3s ease;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.social-links-large .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Platform Cards */
.platform-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--accent-red);
}

.platform-icon {
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

/* Gallery Section */
.gallery-placeholder {
    border: 2px dashed var(--text-gray);
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    border-color: var(--accent-red);
    background: var(--light-red) !important;
}

/* Contact Section */
.contact-form .form-control {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

.contact-info i {
    width: 20px;
    color: var(--accent-red);
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
}

.btn-outline-danger {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-outline-danger:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.btn-warning {
    background: #f59e0b;
    border-color: #f59e0b;
    color: var(--white);
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Footer */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-placeholder {
        padding: 2rem;
    }
    
    .about-placeholder {
        margin-top: 2rem;
    }
    
    .timeline-card {
        margin-bottom: 2rem;
    }
    
    .achievement-stats .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Adjust mobile menu height for smaller screens */
    :root {
        --mobile-menu-height: 320px;
    }
}

@media (max-width: 576px) {
    /* Further adjust mobile menu height for very small screens */
    :root {
        --mobile-menu-height: 350px;
    }
    
    .reel-card {
        max-width: 300px;
    }
    
    .reel-embed iframe {
        min-height: 380px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-overlay,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
}

/* Instagram Reel Cards */
.reel-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 380px;
    margin: 0 auto;
}

.reel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.reel-embed {
    position: relative;
    background: var(--light-gray);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    aspect-ratio: 9/16;
}

.reel-embed iframe {
    border-radius: 15px 15px 0 0;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.reel-info {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
}

.reel-info h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.reel-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* CTA Buttons */
.cta-buttons .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for reels */
@media (max-width: 768px) {
    .reel-card {
        margin-bottom: 2rem;
        max-width: 340px;
    }
    
    .reel-embed iframe {
        min-height: 420px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .reel-card {
        max-width: 300px;
    }
    
    .reel-embed iframe {
        min-height: 380px;
    }
} 

@media (max-width: 992px) {

section.hero-section {
    padding-top: 15vh;
}

}