/*
    LEGAL COPYRIGHT NOTICE:
    This website and all associated code is the exclusive property of Mediavision.us
    
    UNAUTHORIZED USE PROHIBITED:
    - Copying, modifying, or redistributing this code without written permission is illegal
    - Violators will be prosecuted to the full extent of the law
    - Legal action may include court proceedings and monetary damages
    - All code usage is monitored and tracked
    
    For licensing or permission requests:
    Contact: Mediavision.us
    Phone: (714) 888-5959
    
    This notice serves as legal documentation of ownership and copyright protection.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch-friendly buttons */
.btn-small,
.cta-button,
.floating-call-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #0a1929 0%, #1a2f4a 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.navbar {
    padding: 0.6rem 0;
}

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

.logo h1 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    font-weight: 600;
}

.tagline {
    color: #ffd700;
    font-size: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffd700;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1.5s ease-in;
}

.animate-slide-up {
    animation: slideUp 1.5s ease-out;
}

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

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.search-btn {
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.search-btn:hover,
.search-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.4);
}

.search-btn:active {
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

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

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e3c72;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.4);
}

.thank-you {
    text-align: center;
    padding: 3rem 2rem;
}

.thank-you h2 {
    color: #28a745;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.1rem;
    color: #666;
    margin: 0.5rem 0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.profile-image .image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.profile-image .image-placeholder::before {
    content: '👤';
}

.company-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto;
    display: block;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.expertise {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.expertise h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.expertise ul {
    list-style: none;
    padding-left: 0;
}

.expertise li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.expertise li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Coverage Section */
.coverage {
    padding: 4rem 0;
    background: #f8f9fa;
}

.coverage h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

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

.county-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.county-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.info-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card a {
    color: #2a5298;
    text-decoration: none;
    font-weight: bold;
}

.phone-link {
    font-size: 1.3rem;
    display: block;
    margin: 1rem 0;
}

.email-link {
    font-size: 1.1rem;
    display: block;
    margin: 1rem 0;
    word-break: break-all;
}

.info-card a:hover {
    color: #ffd700;
}

.btn-small {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff !important;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.4);
}

.map-container {
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 15px;
    overflow: hidden;
}

/* Footer */
footer {
    background: #1e3c72;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse-btn 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.7);
}

.phone-icon {
    font-size: 2rem;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(255, 215, 0, 0.8);
    }
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

footer p {
    margin: 0.5rem 0;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #0a1929 0%, #1a2f4a 100%);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .hero {
        height: 500px;
        padding: 2rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .services h2,
    .about h2,
    .coverage h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-image .company-logo {
        max-width: 250px;
    }
    
    .services-grid,
    .counties,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .info-card {
        padding: 1.5rem;
    }
    
    .floating-call-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .phone-icon {
        font-size: 1.7rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .service-card .icon,
    .icon-large {
        font-size: 2.5rem;
    }
    
    .phone-link {
        font-size: 1.1rem;
    }
    
    .email-link {
        font-size: 0.9rem;
    }
}
