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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 2rem;
}

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

/* Desktop/Mobile Visibility Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.logo-container {
    position: relative;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
}

/* Mobile Logo Container */
.mobile-logo-container {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-nav-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile horizontal navigation */
.mobile-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-button {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-button:hover {
    color: white; /* Keep white on hover */
}

/* UPDATED: Only show red underline for active pages, keep text white */
.nav-button.active {
    color: white; /* Keep text white */
}

.nav-button.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ef4444; /* Red underline only */
}

.phone-container {
    display: flex;
    align-items: center;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.phone-badge {
    background: white;
    color: #dc2626;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.phone-number {
    white-space: nowrap;
}

/* Mobile Phone Icon - CRITICAL: Hidden on desktop, only shown on mobile */
.mobile-phone-icon {
    display: none !important; /* CRITICAL: Force hidden on desktop */
    background: white;
    color: #dc2626;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: #dc2626;
}

.mobile-phone-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Hero Section - UPDATED: Increased height by 50% */
.hero-section {
    position: relative;
    height: 525px; /* Increased from 350px by 50% */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.85) 85%,
        rgba(0, 0, 0, 1) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 800px;
}

/* Mobile Hero Logo (Hidden by default, shown on mobile) */
.mobile-hero-logo {
    display: none;
    margin-bottom: 30px; /* 30px distance from H1 */
}

.mobile-hero-logo .mobile-logo {
    height: 120px; /* INCREASED: 50% bigger than 80px */
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem; /* Increased from 3rem for larger hero */
    font-weight: 700;
    margin-bottom: 1.25rem; /* Increased margin */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.375rem; /* Increased from 1.25rem */
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.4;
}

/* Services Section */
.services-section {
    background: #000;
    position: relative;
    z-index: 10;
    padding: 6rem 0;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.service-image {
    flex-shrink: 0;
}

.service-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-content {
    flex: 1;
    color: white;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-accent-line {
    width: 60px;
    height: 3px;
    background: #dc2626;
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
}

.service-button {
    display: inline-block;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
}

.service-button:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.service-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4rem 0;
}

/* Footer Styles */
.footer {
    background: black;
    padding: 0;
}

.footer-separator {
    width: 100%;
    height: 2px;
    background: #dc2626;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 2rem 0;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-self: start;
    color: #9ca3af;
    font-size: 0.875rem;
}

.copyright-symbol {
    font-size: 1.125rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.copyright-text {
    font-weight: 400;
}

.footer-logo {
    justify-self: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-social {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide/Show Elements for Mobile */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* Show mobile navigation and hide desktop navigation */
    .desktop-nav {
        display: none !important; /* Hide desktop navigation on mobile */
    }
    
    .mobile-nav {
        display: flex !important; /* Show mobile navigation */
        align-items: center;
        justify-content: center; /* FIXED: Center the navigation items */
        gap: 1.5rem;
        font-size: 0.9rem;
        width: 100%; /* FIXED: Take full width */
    }
    
    /* Show mobile phone icon - ONLY ON MOBILE */
    .mobile-phone-icon {
        display: flex !important; /* CHANGED: Use flex instead of block */
    }
    
    /* FIXED: Mobile header layout - proper centering */
    .header {
        padding: 1.5rem 1rem; /* FIXED: Reduced side padding for better mobile spacing */
    }
    
    .nav-container {
        display: flex;
        justify-content: center; /* FIXED: Center everything on mobile */
        align-items: center;
        width: 100%;
        position: relative; /* FIXED: For absolute positioning of phone icon */
    }
    
    .nav-right {
        display: flex;
        align-items: center;
        justify-content: center; /* FIXED: Center the navigation */
        width: 100%; /* FIXED: Take full width */
        gap: 1rem;
    }
    
    /* FIXED: Position phone icon absolutely on the right */
    .mobile-phone-icon {
        position: absolute !important;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Show Mobile Hero Logo */
    .mobile-hero-logo {
        display: block !important;
    }
    
    .hero-section {
        height: 450px; /* Increased from 300px by 50% for mobile */
    }
    
    .hero-title {
        font-size: 2.75rem; /* Increased from 2.5rem */
    }
    
    .hero-subtitle {
        font-size: 1.25rem; /* Increased from 1.125rem */
    }
    
    .services-section {
        padding: 4rem 0;
    }
    
    .service-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .service-circle {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .service-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .service-accent-line {
        margin: 0 auto 1.5rem auto;
    }
    
    .service-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-copyright {
        justify-self: center;
        order: 3;
    }

    .footer-logo {
        justify-self: center;
        order: 1;
    }

    .footer-social {
        justify-self: center;
        order: 2;
    }
}

@media (max-width: 480px) {
    .mobile-hero-logo .mobile-logo {
        height: 105px; /* INCREASED: 50% bigger than 70px */
    }

    .hero-section {
        height: 375px; /* Increased from 250px by 50% for small mobile */
    }

    .hero-title {
        font-size: 2.25rem; /* Increased from 2rem */
    }
    
    .hero-subtitle {
        font-size: 1.125rem; /* Increased from 1rem */
    }
    
    .services-section {
        padding: 3rem 0;
    }
    
    .service-circle {
        width: 120px;
        height: 120px;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .footer-content {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    /* FIXED: Better mobile navigation spacing for small screens */
    .header {
        padding: 1.5rem 0.75rem; /* FIXED: Even less side padding for small screens */
    }
    
    .mobile-nav {
        gap: 1rem; /* FIXED: Reduced gap for small screens */
        font-size: 0.8rem;
    }
}

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

/* Animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-row {
    animation: fadeInUp 0.8s ease;
}

/* Hover effects for service circles */
.service-circle {
    transition: transform 0.3s ease;
}

.service-circle:hover {
    transform: scale(1.05);
}