/* Additional Custom Styles for Cowboy Construction Theme */

/* Logo Sizing */
img.custom-logo {
    max-width: 150px;
}

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

/* Features List Styling */
.features-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.features-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Partner Section Enhancements */
.partner-section .section-content {
    max-width: 800px;
    margin: 0 auto;
}

.partner-section h3,
.partner-section p {
    color: #fff;
}

/* Projects Section Spacing */
.projects-section {
    background: #1a1a1a;
    padding: 4rem 0;
    color: #fff;
}

.projects-section .section-content h2 {
    color: #ffffff;
}

/* Overlay Enhancements */
.content-section .section-content {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Parallax Performance Optimization */
.parallax-bg,
.full-bleed-image {
    will-change: transform;
    backface-visibility: hidden;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-light);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Enhanced Button Styles */
.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-light);
}

.cta-button.secondary:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

/* Grid Enhancements for Larger Screens */
@media (min-width: 1600px) {
    .header-container,
    .section-content {
        max-width: 1600px;
    }

    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Adjustments */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-content h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Disable parallax on mobile for performance */
    .parallax-bg,
    .full-bleed-image {
        background-attachment: scroll !important;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .cta-button,
    .menu-toggle {
        display: none;
    }

    .parallax-bg,
    .full-bleed-image {
        position: static;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card,
    .project-overlay {
        border: 2px solid #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .parallax-bg,
    .full-bleed-image {
        background-attachment: scroll !important;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
