/* ============================================
   Transport d'Ambulance Marrakech - Styles
   ============================================ */

/* Variables - Couleurs basées sur le logo (Rouge/Vert Marocain) */
:root {
    --primary-red: #E53935;
    --primary-dark: #C62828;
    --primary-light: #EF5350;
    --accent-green: #1B5E20;
    --accent-green-light: #2E7D32;
    --accent-gold: #1B5E20;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-bg: #212529;
    --dark-text: #212529;
    --gray-text: #6C757D;
    --gradient-dark: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #FFFFFF 100%);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
    width: 100%;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(229, 57, 53, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(27, 94, 32, 0.06) 0%, transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
}


@keyframes bgPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(3deg);
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

.particle:nth-child(2n) {
    background: var(--accent-gold);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
}

.logo-text span {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(227, 30, 36, 0.2);
    }
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(227, 30, 36, 0.2);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(227, 30, 36, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--medium-gray);
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    background: rgba(27, 94, 32, 0.1);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(27, 94, 32, 0.1);
    color: var(--accent-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(27, 94, 32, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--medium-gray);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(229, 57, 53, 0.15);
    border-color: var(--primary-red);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(27, 94, 32, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.service-content {
    padding: 30px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--white), var(--light-gray));
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(27, 94, 32, 0.1));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-text);
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.features-list li::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
}

/* Stats Counter */
.stats-section {
    padding: 80px 20px;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-box .stat-number {
    font-size: 3rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 20px;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--medium-gray);
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 0.85rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    color: white;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 0.9;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.tiktok {
    background: #000000;
}

.social-link.phone {
    background: #25D366;
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-container h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    color: var(--dark-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-text);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select option {
    background: var(--dark-bg);
    color: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map Container */
.map-container {
    margin-top: 60px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-bg);
    padding: 60px 20px 30px;
    border-top: 1px solid var(--medium-gray);
    color: var(--white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-bottom span {
    color: var(--primary-red);
    font-weight: 600;
}

/* ============================================
   SERVICE PAGE SPECIFIC
   ============================================ */
.service-page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 60px;
    position: relative;
}

.service-page-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-page-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(27, 94, 32, 0.1));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.service-page-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Reservation Form */
.reservation-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(227, 30, 36, 0.05));
}

.reservation-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.reservation-form-container h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {

    .hero-content,
    .about-content,
    .contact-content,
    .service-page-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text,
    .about-text {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-list {
        text-align: left;
        display: inline-block;
    }

    .service-page-img {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Header & Navigation */
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-cta {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .nav-cta span {
        display: none;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 25px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--medium-gray);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero {
        padding: 100px 15px 60px;
    }

    .service-page-hero {
        padding: 100px 15px 60px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }

    .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Service Page Images */
    .service-page-img {
        max-width: 100%;
        width: 100%;
        max-height: 250px;
    }

    .hero-img {
        max-width: 100%;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .service-card {
        margin: 0 5px;
    }

    /* Sections */
    .services,
    .about,
    .contact {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container,
    .reservation-form-container {
        padding: 25px 20px;
        margin: 0 10px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .reservation-form-container,
    .contact-form-container {
        padding: 20px 15px;
    }

    .service-page-img {
        max-height: 200px;
    }

    .logo-text {
        display: none;
    }

    .nav-logo {
        width: 50px;
        height: 50px;
    }
}

/* Global overflow prevention for mobile */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

section,
.hero,
.service-page-hero,
.services,
.about,
.contact,
.footer,
.reservation-section,
.contact-content,
.contact-info,
.contact-item,
.contact-form-container,
.reservation-form-container,
.footer-content,
.footer-brand,
.section-header,
.services-grid,
.stats-grid {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-item {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

.map-container iframe {
    max-width: 100%;
}

/* Mobile specific overrides */
@media (max-width: 768px) {

    .contact-form-container h3,
    .reservation-form-container h3,
    .section-title {
        font-size: 1.3rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 10px;
    }

    .contact-content {
        padding: 0 10px;
    }

    .contact-info {
        padding: 0 10px;
    }

    .contact-form-container,
    .reservation-form-container {
        margin: 0 10px;
        padding: 20px 15px;
        max-width: calc(100% - 20px);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .hero-title,
    .section-title {
        padding: 0 15px;
    }

    .service-card {
        max-width: 100%;
        margin: 0 10px 20px;
    }

    .services-grid {
        padding: 0 5px;
    }
}