/* Modern Houston Badge Co. Stylesheet */

:root {
    --primary-blue: #2c3e7a;
    --accent-blue: #4a5f9d;
    --dark-navy: #1a2744;
    --gold: #d4af37;
    --light-gray: #f5f7fa;
    --medium-gray: #e1e8ed;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rund Text', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 1em;
    font-weight: normal;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text h1 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.2;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-blue);
}

.cta-phone {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.cta-phone:hover {
    background: var(--dark-navy);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-phone {
    display: none;
}

/* Hero Section with Love Wall */
.hero {
    background: var(--primary-blue);
    color: var(--white);
    padding: 5rem 0 6rem;
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 95, 157, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05));
    pointer-events: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-title br {
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 90%;
}

.hero-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Love Wall - Vertical Scrolling Testimonials */
.love-wall {
    display: flex;
    gap: 1rem;
    height: 600px;
    overflow: hidden;
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.love-wall::before,
.love-wall::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    z-index: 2;
    pointer-events: none;
}

.love-wall::before {
    top: 0;
    background: linear-gradient(to bottom,
            var(--primary-blue) 0%,
            rgba(62, 69, 139, 0.9) 20%,
            rgba(62, 69, 139, 0.5) 50%,
            transparent 100%);
}

.love-wall::after {
    bottom: 0;
    background: linear-gradient(to top,
            var(--primary-blue) 0%,
            rgb(44, 62, 122) 20%,
            rgba(26, 39, 68, 0.5) 50%,
            transparent 100%);
}

.love-wall-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: scrollUp 25s linear infinite;
    width: 100%;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.love-wall-column:hover {
    animation-play-state: paused;
}

.love-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

.love-card:hover {
    transform: translateX(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-color: rgba(212, 175, 55, 0.3);
}

.love-card .stars {
    color: var(--gold);
    font-size: 1rem;
    order: 3;
}

.love-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
    color: var(--text-dark);
    font-weight: 400;
    order: 1;
    position: relative;
}

.love-card p::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.25rem;
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.love-card span {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    order: 2;
}

.love-card span {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-navy);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #e0bd3d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--accent-blue);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-navy);
}

/* Featured Products */
.featured-products {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--dark-navy);
}

.product-card p {
    color: var(--text-light);
    margin: 0 1.5rem 1.5rem;
}

.product-card .btn-link {
    display: block;
    margin: 0 1.5rem 1.5rem;
}

/* Testimonials - Postmark Style Horizontal Scroll */
.testimonials {
    background: var(--white);
    overflow: hidden;
}

.container-full {
    max-width: 100%;
    padding: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
    padding: 0 20px;
}

/* Horizontal scrolling wrapper */
.testimonial-scroll-wrapper {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.testimonial-scroll-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 60s linear infinite;
    width: fit-content;
}

.testimonial-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-scroll-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-scroll-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 0 20px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--dark-navy);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-blue);
}

/* Why Choose Us */
.why-choose {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content>p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-hours {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Horizontal auto-scrolling marquee for medium screens */
    .love-wall {
        height: auto;
        flex-direction: row;
        overflow: hidden;
        padding: 1rem 0;
        gap: 0;
    }

    .love-wall::before,
    .love-wall::after {
        display: none;
    }

    .love-wall-column {
        flex-direction: row;
        animation: scrollHorizontal 40s linear infinite;
        gap: 1.5rem;
        width: fit-content;
    }

    @keyframes scrollHorizontal {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .love-wall-column:hover {
        animation-play-state: paused;
    }

    .love-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.5rem;
        flex-shrink: 0;
        cursor: pointer;
    }

    .love-card:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .love-card p {
        font-size: 0.95rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
    }

    .love-card p::before {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        padding: 0.75rem 0;
    }

    .logo-link {
        gap: 0.75rem;
        flex: 1;
    }

    .logo-image {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--medium-gray);
        text-align: left;
    }

    .nav a:hover {
        background: var(--light-gray);
    }

    .nav-phone {
        display: block;
        background: var(--gold);
        color: var(--dark-navy);
        margin: 1rem;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        font-weight: 600;
        text-decoration: none;
    }

    .nav-phone:hover {
        background: #e0bd3d;
    }

    .cta-phone {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero {
        padding: 3rem 0 4rem;
    }



    .hero-content {
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .badge {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: row;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        flex: 1;
        min-width: 0;
        text-align: center;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    @media (max-width: 400px) {
        .hero-cta {
            flex-direction: column;
        }

        .hero-cta .btn {
            width: 100%;
        }
    }

    .love-wall {
        height: auto;
        padding: 1rem 0;
    }

    .love-wall-column {
        animation: scrollHorizontal 40s linear infinite;
    }

    .love-card {
        min-width: 250px;
        max-width: 250px;
        padding: 1.5rem;
    }

    .love-card p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .testimonial-scroll-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card h3 {
        font-size: 1.25rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .cta-content>p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: row;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .btn-large {
        flex: 1;
        min-width: 0;
        padding: 1rem 1.5rem;
    }

    @media (max-width: 400px) {
        .cta-buttons {
            flex-direction: column;
        }

        .btn-large {
            width: 100%;
        }
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    section {
        padding: 3rem 0;
    }
}

/* Testimonial Modal */
.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-modal-content {
    background: var(--white);
    margin: 2rem;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.testimonial-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-modal-close:hover {
    color: var(--text-dark);
}

.testimonial-modal-body {
    padding: 3rem 2rem 2rem;
}

.testimonial-modal-stars {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-modal-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-modal-text::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-modal-author {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .testimonial-modal-content {
        margin: 1rem;
    }

    .testimonial-modal-body {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .testimonial-modal-text {
        font-size: 1rem;
    }

    .testimonial-modal-close {
        right: 1rem;
        top: 1rem;
        font-size: 1.75rem;
    }
}