/* Base CSS with Standardized Hero Support */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    line-height: 1.3;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    min-width: 160px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--gray);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

/* Body padding adjustments for standardized hero */
body:not(.home) {
    padding-top: 0; /* Let standardized hero handle spacing */
}

/* Ensure main content starts properly */
main {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 84px;
}

.footer-main {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--white);
}

.red-marker {
    display: inline-block;
    width: 40px;
    height: 4px;
    background-color: var(--primary);
    margin-right: 1.5rem;
}

.footer-link-marker {
    display: inline-block;
    width: 10px;
    height: 1em;
    position: relative;
    margin-right: 0.6em;
    vertical-align: baseline;
}

.footer-link-marker::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 2px;
    background-color: #e51825;
    transform: skewX(-30deg);
    transform-origin: bottom left;
}

.newsletter p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
}

.newsletter-form button {
    border: none;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social {
    display: flex;
    gap: 1.5rem;
}

.social a {
    color: var(--white);
    font-size: 1.25rem;
    opacity: 0.8;
    transition: var(--transition);
}

.social a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Section Heading */
.section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

/* Equipment Section Common Styles */
.equipment {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.equipment-item {
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.equipment-item .equipment-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.equipment-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e10600;
}

.equipment-item p {
    margin: 0;
    line-height: 1.5;
}

.equipment-item ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.equipment-item ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.equipment-item ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background-color: var(--primary);
}

/* Project Card Styles */
.project-card {
    background-color: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
}

.project-category {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Enhanced Social Media Icons with Brand Colors */
.footer-bottom .social a {
    color: #ffffff;
    font-size: 1.25rem;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.footer-bottom .social a:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Instagram hover effect */
.footer-bottom .social a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

/* WhatsApp hover effect */
.footer-bottom .social a[href*="whatsapp"]:hover,
.footer-bottom .social a[href*="wa.me"]:hover {
    background: #25d366;
    color: #ffffff;
}

/* Email hover effect */
.footer-bottom .social a[href^="mailto"]:hover {
    background: #ea4335;
    color: #ffffff;
}

/* LinkedIn hover effect */
.footer-bottom .social a[href*="linkedin"]:hover {
    background: #0a66c2;
    color: #ffffff;
}

/* YouTube hover effect */
.footer-bottom .social a[href*="youtube"]:hover {
    background: #ff0000;
    color: #ffffff;
}

/* Enhanced Sager Drone Footer Section - Moved to base.css for consistency */
.footer-col.sager-membership-enhanced {
    background: linear-gradient(135deg, rgba(229, 24, 37, 0.12), rgba(229, 24, 37, 0.06));
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(229, 24, 37, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-col.sager-membership-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e51825, #ff3344);
    background-size: 200% 100%;
    animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-col.sager-membership-enhanced:hover {
    background: linear-gradient(135deg, rgba(229, 24, 37, 0.18), rgba(229, 24, 37, 0.08));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(229, 24, 37, 0.15);
}

.sager-logo-enhanced {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 220px;
    margin: 0 auto;
    display: block;
}

/* Membership Content */
.membership-content-enhanced {
    padding: 1.5rem;
}

.membership-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}

.membership-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.network-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    background: rgba(229, 24, 37, 0.8);
    border: 2px solid rgba(229, 24, 37, 0.6);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.network-link::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 ease;
}

.network-link:hover::before {
    left: 100%;
}

.network-link:hover {
    background: #e51825;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 24, 37, 0.4);
}

.network-link i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.network-link:hover i {
    transform: translateX(3px);
}

/* STANDARDIZED HERO SECTION CSS - EMBEDDED */
/* Standardized Hero Section */
.standardized-hero {
    position: relative;
    width: 100%;
    margin-top: 80px;
    overflow: hidden;
    background-color: #000000;
}

/* Hero Video Container with YouTube Aspect Ratio (16:9) */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000000;
    overflow: hidden;
}

/* Video Element Styling */
.hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 2rem;
}

/* Hero Content */
.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Typography */
.hero-content h1 {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Strong text styling within paragraphs */
.hero-content p strong {
    color: #e51825;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .standardized-hero {
        margin-top: 70px;
    }
    
    .hero-content {
        max-width: 800px;
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-video-container {
        padding-bottom: 60%;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        letter-spacing: 1.5px;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    }
    
    .hero-overlay {
        padding: 1.5rem;
    }
    
    .footer-col.sager-membership-enhanced {
        grid-column: span 2;
    }
    
    .membership-content-enhanced {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .membership-details {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        margin-top: 1rem;
        width: 100%;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .social {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .standardized-hero {
        margin-top: 70px;
    }
    
    .hero-video-container {
        padding-bottom: 65%;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: clamp(0.85rem, 2vw, 1rem);
        line-height: 1.5;
    }
    
    .hero-overlay {
        padding: 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .footer-col.sager-membership-enhanced {
        grid-column: span 1;
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .sager-logo-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .membership-text {
        font-size: 0.8rem;
    }
    
    .network-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-video-container {
        padding-bottom: 70%;
    }
    
    .hero-content h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }
}

/* Video Loading State */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a 25%, transparent 25%), 
                linear-gradient(-45deg, #1a1a1a 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #1a1a1a 75%), 
                linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content p {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
    
    .hero-content h1 {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    }
    
    .hero-content p {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
    }
}