/* ========================================
   OVERLAY SOLUTIONS - STYLES
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-black: #000000;
    --asphalt-gray: #1a1a1a;
    --concrete-gray: #2a2a2a;
    --light-gray: #e0e0e0;
    --off-white: #f5f5f5;
    --pure-white: #ffffff;
    --overlay-yellow: #FFB900;
    --gold-accent: #FFA500;
    --warning-orange: #FF8C42;
    
    /* Typography */
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--primary-black);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    transition: var(--transition-normal);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(253, 181, 21, 0.1);
    transition: background var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--overlay-yellow);
    transition: width var(--transition-normal);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--overlay-yellow);
    transition: var(--transition-normal);
}

.cta-btn {
    background: var(--overlay-yellow);
    color: var(--primary-black);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-btn:hover {
    background: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 181, 21, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background-image: url('hero-background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-image: url('overlay-solutions-logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 185, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 185, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 181, 21, 0.15);
    border: 1px solid rgba(253, 181, 21, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.highlight {
    color: var(--overlay-yellow);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.primary-btn {
    background: var(--overlay-yellow);
    color: var(--primary-black);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.primary-btn:hover {
    background: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(253, 181, 21, 0.4);
}

.primary-btn svg {
    transition: transform var(--transition-normal);
}

.primary-btn:hover svg {
    transform: translateX(5px);
}

.secondary-btn {
    background: transparent;
    color: var(--off-white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--overlay-yellow);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.secondary-btn:hover {
    background: rgba(253, 181, 21, 0.1);
    border-color: var(--gold-accent);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--overlay-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

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

/* Veteran Badge Styles */
.veteran-badge-hero {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 185, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: 2px solid var(--overlay-yellow);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    animation: fadeInUp 0.8s ease-out 1s both;
    position: relative;
    z-index: 2;
}

.veteran-icon-large {
    font-size: 2rem;
}

.veteran-text-large {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--overlay-yellow);
}

.veteran-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 185, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: 2px solid var(--overlay-yellow);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.veteran-icon {
    font-size: 1.3rem;
}

.veteran-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: var(--overlay-yellow);
}

/* Section Styling */
section {
    padding: var(--spacing-xl) 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--overlay-yellow);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--asphalt-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 181, 21, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(253, 181, 21, 0.1), rgba(212, 175, 55, 0.05));
    border-color: var(--overlay-yellow);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--overlay-yellow);
    color: var(--primary-black);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-features span {
    background: rgba(253, 181, 21, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(253, 181, 21, 0.2);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.value-props {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-prop {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.value-icon {
    background: var(--overlay-yellow);
    color: var(--primary-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.value-prop h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.value-prop p {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin: 0;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 185, 0, 0.3);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
    padding: 2rem;
    color: var(--off-white);
}

.image-caption h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--overlay-yellow);
}

.image-caption p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--light-gray);
}

.visual-card {
    background: linear-gradient(135deg, rgba(253, 181, 21, 0.15), rgba(212, 175, 55, 0.05));
    border: 2px solid rgba(253, 181, 21, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    position: sticky;
    top: 120px;
}

.visual-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.visual-card ul {
    list-style: none;
}

.visual-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.visual-card li:last-child {
    border-bottom: none;
}

/* Process Section */
.process {
    background: var(--asphalt-gray);
}

/* Testimonials Section */
.testimonials {
    background: var(--primary-black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 185, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stars {
    color: var(--overlay-yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
}

.homeadvisor-link {
    text-align: center;
    margin-top: 3rem;
}

.homeadvisor-link p {
    font-size: 1.1rem;
    color: var(--light-gray);
}

.homeadvisor-link a {
    color: var(--overlay-yellow);
    text-decoration: underline;
    font-weight: 600;
}

.homeadvisor-link a:hover {
    color: var(--gold-accent);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    align-items: start;
    position: relative;
}

.timeline-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--overlay-yellow);
    min-width: 80px;
    line-height: 1;
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.timeline-connector {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, rgba(253, 181, 21, 0.5), rgba(253, 181, 21, 0.1));
    margin: 0 auto 0 40px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.method-icon {
    font-size: 2rem;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-method a {
    color: var(--overlay-yellow);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--gold-accent);
}

.contact-method p {
    font-size: 1.1rem;
    margin: 0;
}

.business-hours {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.business-hours h4 {
    margin-bottom: 1rem;
}

.business-hours p {
    font-size: 1rem;
    margin: 0.3rem 0;
}

.office-locations {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.office-locations h4 {
    margin-bottom: 1rem;
    color: var(--overlay-yellow);
}

.office-locations .location {
    margin-bottom: 1rem;
}

.office-locations .location:last-child {
    margin-bottom: 0;
}

.office-locations strong {
    color: var(--overlay-yellow);
    display: block;
    margin-bottom: 0.3rem;
}

.office-locations p {
    margin: 0;
    font-size: 1rem;
    color: var(--light-gray);
}

.office-locations .secondary-location {
    opacity: 0.7;
    font-size: 0.95rem;
}

.office-locations .secondary-location strong {
    color: var(--light-gray);
}

.contact-cta {
    text-align: center;
}

.primary-btn.large {
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
}

.cta-note {
    margin-top: 1rem;
    color: var(--light-gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--asphalt-gray);
    border-top: 1px solid rgba(253, 181, 21, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-gray);
    margin: 0.5rem 0;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--overlay-yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin: 0.5rem 0;
}

.footer-section a:hover {
    color: var(--overlay-yellow);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--overlay-yellow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--asphalt-gray);
    border: 1px solid rgba(253, 181, 21, 0.2);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    color: var(--off-white);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-content h2 {
    margin-bottom: 0.5rem;
}

.modal-content > p {
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: var(--off-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--overlay-yellow);
    background: rgba(255, 255, 255, 0.08);
}

.full-width {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--asphalt-gray);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        height: 1px;
        width: 100%;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .cta-btn {
        display: none;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}
