/* Shared Components - Yampa Valley Window Cleaners */

/* ===== NAVIGATION ===== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

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

.nav-logo span {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-links a.active {
    color: var(--accent);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ===== FLOATING QUOTE BUTTON ===== */
.floating-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #0097a7 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.floating-quote-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.5);
}

.floating-quote-btn i {
    font-size: 1.2rem;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(0, 188, 212, 0.6);
    }
}

/* Collapsed state for mobile */
.floating-quote-btn.collapsed {
    padding: 18px;
    border-radius: 50%;
}

.floating-quote-btn.collapsed span {
    display: none;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: linear-gradient(135deg, #1a2332 0%, #0d1117 100%);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.cta-section h2 {
    color: var(--text-primary);
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #0097a7 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-secondary);
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-section h3 {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== SERVICE CARDS (for services pages) ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 50px rgba(0, 188, 212, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-card .learn-more:hover {
    gap: 12px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-section h2 {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    color: var(--text-secondary);
    padding-left: 25px;
    margin: 20px 0;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===== FEATURES LIST ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .floating-quote-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .footer-grid {
        text-align: center;
    }
}
