/*
 * MyLifeLocker.com - Mobile-First Stylesheet
 * Using MDBootstrap Framework
 * =========================================
 */

/* ==========================================
   CSS CUSTOM PROPERTIES (Variables)
   ========================================== */
:root {
    /* Brand Colors */
    --mll-gold: #ceb128;
    --mll-gold-dark: #b89e23;
    --mll-gold-light: #e5c94d;

    /* Locker Colors */
    --locker-1: #ce4f55;  /* Me & My Family - Red */
    --locker-2: #5795b6;  /* My Important Things - Blue */
    --locker-3: #75b15e;  /* My Valuable Money - Green */
    --locker-4: #da8129;  /* My Everything Else - Orange */

    /* Carousel/Accent Colors */
    --accent-orange: #faa635;
    --accent-purple: #8560a8;
    --accent-green: #a2cf67;
    --accent-blue: #3290c9;
    --accent-pink: #cc3872;
    --accent-teal: #30b6ae;

    /* Neutral Colors */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Typography */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding-mobile: 2rem;
    --section-padding-tablet: 3rem;
    --section-padding-desktop: 4rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-navbar: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   BASE STYLES
   ========================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--mll-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--mll-gold-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-gold {
    color: var(--mll-gold) !important;
}

.text-locker-1 { color: var(--locker-1) !important; }
.text-locker-2 { color: var(--locker-2) !important; }
.text-locker-3 { color: var(--locker-3) !important; }
.text-locker-4 { color: var(--locker-4) !important; }

.bg-gold {
    background-color: var(--mll-gold) !important;
}

.bg-locker-1 { background-color: var(--locker-1) !important; }
.bg-locker-2 { background-color: var(--locker-2) !important; }
.bg-locker-3 { background-color: var(--locker-3) !important; }
.bg-locker-4 { background-color: var(--locker-4) !important; }

.bg-gray-light {
    background-color: var(--gray-100) !important;
}

.bg-gray-dark {
    background-color: var(--gray-800) !important;
}

.section-padding {
    padding-top: var(--section-padding-mobile);
    padding-bottom: var(--section-padding-mobile);
}

/* ==========================================
   NAVBAR STYLES
   ========================================== */
.navbar-mll {
    background-color: #fff;
    padding: 0.5rem 0;
    transition: all var(--transition-normal);
}

.navbar-mll.scrolled {
    box-shadow: var(--shadow-navbar);
}

.navbar-mll .navbar-brand {
    padding: 0;
}

.navbar-mll .navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-mll .nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-mll .nav-link:hover,
.navbar-mll .nav-link.active {
    color: var(--mll-gold);
}

.navbar-mll .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-mll .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-mll .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(206, 177, 40, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section.hero-home {
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(206, 177, 40, 0.9), rgba(184, 158, 35, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ==========================================
   CAROUSEL / SLIDER
   ========================================== */
.mll-carousel {
    position: relative;
}

.mll-carousel .carousel-item {
    min-height: 70vh;
}

.mll-carousel .carousel-item.active,
.mll-carousel .carousel-item-next,
.mll-carousel .carousel-item-prev {
    display: flex;
    align-items: center;
}

.mll-carousel .carousel-caption {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    text-align: left;
}

.mll-carousel .carousel-caption h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.mll-carousel .carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

.carousel-slide-orange { background-color: var(--accent-orange); }
.carousel-slide-purple { background-color: var(--accent-purple); }
.carousel-slide-green { background-color: var(--accent-green); }
.carousel-slide-blue { background-color: var(--accent-blue); }
.carousel-slide-pink { background-color: var(--accent-pink); }
.carousel-slide-teal { background-color: var(--accent-teal); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-gold {
    background-color: var(--mll-gold);
    border-color: var(--mll-gold);
    color: #fff;
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: var(--mll-gold-dark);
    border-color: var(--mll-gold-dark);
    color: #fff;
}

.btn-outline-gold {
    border-color: var(--mll-gold);
    color: var(--mll-gold);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background-color: var(--mll-gold);
    border-color: var(--mll-gold);
    color: #fff;
}

.btn-locker-1 {
    background-color: var(--locker-1);
    border-color: var(--locker-1);
    color: #fff;
}

.btn-locker-2 {
    background-color: var(--locker-2);
    border-color: var(--locker-2);
    color: #fff;
}

.btn-locker-3 {
    background-color: var(--locker-3);
    border-color: var(--locker-3);
    color: #fff;
}

.btn-locker-4 {
    background-color: var(--locker-4);
    border-color: var(--locker-4);
    color: #fff;
}

/* ==========================================
   CARDS
   ========================================== */
.card-mll {
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

.card-mll:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-mll .card-body {
    padding: 1.5rem;
}

.card-mll .card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Locker Cards */
.locker-card {
    position: relative;
    border-left: 4px solid;
}

.locker-card.locker-1 { border-left-color: var(--locker-1); }
.locker-card.locker-2 { border-left-color: var(--locker-2); }
.locker-card.locker-3 { border-left-color: var(--locker-3); }
.locker-card.locker-4 { border-left-color: var(--locker-4); }

.locker-icon {
    width: 60px;
    height: 80px;
    object-fit: contain;
}

/* ==========================================
   FEATURE SECTIONS
   ========================================== */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--mll-gold);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box {
    text-align: center;
    padding: 1.5rem;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.testimonial-card .quote-icon {
    color: var(--mll-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 700;
    color: var(--mll-gold);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.product-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card .product-image {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--gray-100);
}

.product-card .product-image img {
    max-height: 200px;
    width: auto;
}

.product-card .product-body {
    padding: 1.5rem;
}

.product-card .product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-card .product-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.product-card .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--locker-1);
    margin-bottom: 1rem;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--gray-800);
    background-color: #fff;
    padding: 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--mll-gold);
    background-color: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--mll-gold);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ceb128'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 1.25rem;
    color: var(--gray-600);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-info-card {
    background-color: var(--gray-800);
    color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
}

.contact-info-card h4 {
    color: var(--mll-gold);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.contact-info-item i {
    color: var(--mll-gold);
    font-size: 1.25rem;
    width: 30px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-info-item a {
    color: #fff;
}

.contact-info-item a:hover {
    color: var(--mll-gold);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 0.375rem;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--mll-gold);
    box-shadow: 0 0 0 0.2rem rgba(206, 177, 40, 0.25);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-mll {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.footer-mll h5 {
    color: var(--mll-gold);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-mll ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-mll ul li {
    margin-bottom: 0.5rem;
}

.footer-mll ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-mll ul li a:hover {
    color: var(--mll-gold);
}

.footer-mll .footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-mll .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-800);
    color: var(--gray-400);
    margin-right: 0.5rem;
    transition: all var(--transition-fast);
}

.footer-mll .social-links a:hover {
    background-color: var(--mll-gold);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-creator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-creator img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--mll-gold);
}

.signature-img {
    max-width: 150px;
    margin-top: 1rem;
}

/* ==========================================
   VIDEO EMBED
   ========================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   DISCLAIMER PAGE
   ========================================== */
.legal-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.legal-content h3 {
    color: var(--gray-800);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================
   PAGE HEADER (for inner pages)
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    margin-top: 76px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.page-header .breadcrumb-item.active {
    color: var(--mll-gold);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray-500);
}

/* ==========================================
   SCREEN SHARE PAGE
   ========================================== */
.screenshare-container {
    text-align: center;
    padding: 3rem 1rem;
}

.screenshare-icon {
    font-size: 4rem;
    color: var(--mll-gold);
    margin-bottom: 1.5rem;
}

.screenshare-status {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* ==========================================
   MEDIA QUERIES - Tablet (768px and up)
   ========================================== */
@media (min-width: 768px) {
    .section-padding {
        padding-top: var(--section-padding-tablet);
        padding-bottom: var(--section-padding-tablet);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .mll-carousel .carousel-caption h2 {
        font-size: 2rem;
    }

    .mll-carousel .carousel-item {
        min-height: 80vh;
    }

    .navbar-mll .navbar-brand img {
        height: 60px;
    }

    .page-header {
        padding: 5rem 0 4rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-creator {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .about-creator img {
        margin-right: 2rem;
        margin-bottom: 0;
    }

    .locker-icon {
        width: 70px;
        height: 95px;
    }
}

/* ==========================================
   MEDIA QUERIES - Desktop (992px and up)
   ========================================== */
@media (min-width: 992px) {
    .section-padding {
        padding-top: var(--section-padding-desktop);
        padding-bottom: var(--section-padding-desktop);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .mll-carousel .carousel-caption h2 {
        font-size: 2.5rem;
    }

    .mll-carousel .carousel-item {
        min-height: 100vh;
    }

    .navbar-mll .nav-link {
        padding: 0.75rem 1.25rem;
    }

    .feature-box {
        padding: 2rem;
    }

    .locker-icon {
        width: 80px;
        height: 110px;
    }
}

/* ==========================================
   MEDIA QUERIES - Large Desktop (1200px and up)
   ========================================== */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .mll-carousel .carousel-caption h2 {
        font-size: 3rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Delay utilities for staggered animations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .navbar-mll,
    .footer-mll,
    .btn,
    .social-links {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }
}
