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

:root {
    --primary-color: #003366;
    /* Dark Blue */
    --secondary-color: #000000;
    /* Black */
    --accent-color: #25D366;
    /* WhatsApp Green */
    --text-color: #333333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Header */
header {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    color: var(--primary-color);
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1001;
    transition: var(--transition);
    padding: 60px 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu ul li a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 0, 0, 0.8)), url('hero-bg-pattern.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* About Section */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
}

/* Hours Section */
.hours-container {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.hours-table th,
.hours-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hours-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table tr:hover {
    background-color: #f9f9f9;
}

.hours-table .closed td {
    color: #999;
    font-style: italic;
}

/* Location Section */
.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.address-box {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.address-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.address-box p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.address-box .reference {
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 450px;
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1fb757;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

/* Phone Display */
.phone-display {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.phone-display i {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #dbdada;
    color: #333;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    width: 100%;
    max-width: 600px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESPONSIVE STYLES - MOBILE OPTIMIZATION
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablets and larger phones */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        height: 50vh;
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .location-content {
        flex-direction: column;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Table responsiveness */
    .hours-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hours-table {
        min-width: 500px;
    }

    .hours-table th,
    .hours-table td {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
}

/* Small phones in portrait and landscape */
@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero {
        height: auto;
        min-height: 400px;
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero .lead {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 35px;
    }

    /* Header adjustments */
    header {
        padding: 15px 0;
    }

    .logo img {
        height: 40px;
    }

    /* Mobile menu adjustments */
    .mobile-menu {
        width: 80%;
        padding: 50px 20px;
    }

    .mobile-menu ul li a {
        font-size: 1.1rem;
    }

    /* Service cards */
    .service-card {
        padding: 25px 15px;
    }

    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    /* About section */
    .about-text p {
        font-size: 1rem;
    }

    /* Contact section */
    .contact-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .btn-whatsapp {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .phone-display {
        font-size: 1.1rem;
        margin-top: 15px;
    }

    /* Location section */
    .address-box {
        padding: 30px 20px;
        min-width: auto;
    }

    .address-box i {
        font-size: 2.5rem;
    }

    .address-box p {
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 30px 0;
    }

    .footer-logo {
        height: 50px;
    }

    /* WhatsApp float button */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }

    /* Table adjustments */
    .hours-table {
        min-width: 450px;
        font-size: 0.9rem;
    }

    .hours-table th,
    .hours-table td {
        padding: 10px 8px;
    }
}

/* Very small phones (iPhone SE, older Android) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .section-padding {
        padding: 35px 0;
    }

    .hero {
        min-height: 350px;
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero .lead {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .line {
        width: 60px;
        height: 3px;
    }

    /* Service cards - single column */
    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-card i {
        font-size: 2.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* About text */
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    /* Contact */
    .btn-whatsapp {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .phone-display {
        font-size: 1rem;
        flex-direction: column;
        gap: 5px;
    }

    /* Location */
    .map-container iframe {
        height: 250px;
    }

    .address-box {
        padding: 25px 15px;
    }

    .address-box i {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .address-box p {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .address-box .reference {
        font-size: 0.85rem;
    }

    /* Hours table */
    .hours-table {
        min-width: 400px;
        font-size: 0.85rem;
    }

    .hours-table th,
    .hours-table td {
        padding: 8px 6px;
    }

    /* Footer */
    footer {
        padding: 25px 0;
        margin-top: 35px;
    }

    .footer-content p {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.85rem;
    }

    /* Mobile menu */
    .mobile-menu {
        width: 85%;
    }

    .mobile-menu ul li a {
        font-size: 1rem;
        padding: 8px 0;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .hero h2 {
        font-size: 1.4rem;
    }

    .hero .lead {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .service-card {
        padding: 18px 12px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}