/* Global Styles */
:root {
    --primary-color: #cb9344;
    /* Gold/Bronze from reference */
    --secondary-color: #1a1a1a;
    /* Dark background */
    --accent-color: #a87b32;
    /* Darker Gold */
    --text-color: #f1f1f1;
    --bg-color: #0f0f0f;
    /* Very dark grey/black */
    --card-bg: #1e1e1e;
    --whatsapp-color: #25D366;
    --font-family: 'Cairo', sans-serif;
    --price-color: #cb9344;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    direction: rtl;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
}

/* Header */
header {
    background: #000 url('https://kababgyfarahat.com/wp-content/uploads/2021/11/slider-1.jpg') center/cover no-repeat;
    /* Fallback to black if URL fails */
    color: #fff;
    padding: 3rem 1rem 5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background-attachment: fixed;
    /* Parallax Effect */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 10px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(203, 147, 68, 0.3);
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
}

.site-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;

    /* Hot Burning Text Effect */
    background: linear-gradient(to bottom, #cb9344 0%, #ff8c00 50%, #ff4500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0px 2px 10px rgba(255, 69, 0, 0.3);
    animation: burn-pulse 3s infinite alternate;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff4500, #cb9344, #ff4500, transparent);
    background-size: 200% auto;
    animation: border-flow 2s linear infinite;
}

/* Flame Decorations */
header h1::before {
    content: '🔥';
    /* Simple emoji as placeholder, or could use SVG url */
    position: absolute;
    top: -30px;
    right: -40px;
    font-size: 2rem;
    filter: drop-shadow(0 0 10px orange);
    animation: float-flame 2s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes burn-pulse {
    0% {
        filter: brightness(100%) drop-shadow(0 0 5px rgba(203, 147, 68, 0.2));
    }

    100% {
        filter: brightness(130%) drop-shadow(0 0 15px rgba(255, 69, 0, 0.6));
    }
}

@keyframes border-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes float-flame {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

header p {
    font-size: 1.5rem;
    color: #ddd;
    margin-top: 0.5rem;
}

/* ... (Existing gallery styles) ... */

/* Email Container */
.email-container {
    margin: 1rem 0;
    position: relative;
    z-index: 5;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 30, 30, 0.8);
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid #444;
    transition: all 0.3s ease;
    color: #ccc;
    font-size: 1.1rem;
    text-decoration: none;
}

.email-link:hover {
    background: rgba(203, 147, 68, 0.15);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.email-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind everything */
    pointer-events: none;
    /* Allow clicking through */
}

/* Main Gallery */
main {
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.food-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.image-container {
    position: relative;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover .image-container img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.food-card:hover .overlay {
    opacity: 1;
}

.order-btn {
    background: var(--whatsapp-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.food-card:hover .order-btn {
    transform: translateY(0);
}

.card-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #fff;
}

.price {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.currency {
    font-size: 1rem;
    font-weight: normal;
    color: #bbb;
}

/* Floating Buttons */
.whatsapp-float,
.maps-float {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease;
    border: 2px solid #fff;
}

.whatsapp-float {
    right: 30px;
    background: var(--whatsapp-color);
}

.maps-float {
    left: 30px;
    background: #4285F4;
    /* Google Blue */
}

.whatsapp-float:hover,
.maps-float:hover {
    transform: scale(1.1);
}

.maps-float:hover {
    background: #3367d6;
}

.whatsapp-icon,
.maps-icon {
    width: 35px;
    height: 35px;
}

/* Footer */
footer {
    background: #000;
    color: #888;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #333;
}

/* Responsive Design */

/* Large Screens (Desktops) */
@media screen and (min-width: 1400px) {

    main,
    .footer-content {
        max-width: 1400px;
    }

    header h1 {
        font-size: 4rem;
        /* Larger title on big screens */
    }
}

/* Tablet (Max Width: 1024px) */
@media screen and (max-width: 1024px) {
    header h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile (Max Width: 768px) */
@media screen and (max-width: 768px) {
    header {
        padding: 2rem 1rem 3rem;
        /* Reduce padding */
    }

    header h1 {
        font-size: 2.2rem;
        word-break: keep-all;
        /* Avoid breaking words comfortably */
    }

    header p {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns on large phones */
        gap: 1rem;
    }

    .card-info {
        padding: 0.8rem;
    }

    .card-info h3 {
        font-size: 1rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .whatsapp-btn-card {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    /* Buttons are already circular and optimized globally, 
       just adjusting size/margin if needed for very small screens */
    .whatsapp-float,
    .maps-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }

    .whatsapp-float {
        right: 20px;
    }

    .maps-float {
        left: 20px;
    }

    .whatsapp-icon,
    .maps-icon {
        width: 28px;
        height: 28px;
    }
}

/* Small Mobile (Max Width: 480px) */
@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 1rem;
    }

    /* Fire emoji adjustment for small screens */
    header h1::before {
        font-size: 1.5rem;
        right: -25px;
        top: -20px;
    }

    .gallery-title h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        /* Single column for small screens */
        gap: 1.5rem;
    }

    .food-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .overlay {
        opacity: 1;
        /* Always show overlay/button on mobile since there is no hover */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        align-items: flex-end;
        /* Move button to bottom */
        padding-bottom: 20px;
    }

    .image-container img {
        transform: scale(1);
        /* No zoom on mobile */
    }

    .order-btn {
        transform: translateY(0);
        width: 80%;
        justify-content: center;
        padding: 0.8rem;
        /* Larger touch target */
        font-size: 1rem;
    }
}

/* Full Menu Button & Modal */
.menu-btn-container {
    text-align: center;
    margin: 3rem 0;
}

.pulse-btn {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-family);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(203, 147, 68, 0.7);
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.pulse-btn:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(203, 147, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(203, 147, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(203, 147, 68, 0);
    }
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    /* Sit on top of everything including floating buttons */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95vh;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Small Device Adjustments for Modal */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


/* Footer Enhancements */
footer {
    padding: 4rem 1rem 2rem;
    background: #000 url('https://kababgyfarahat.com/wp-content/uploads/2021/11/slider-1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax Effect */
    border-top: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Dark overlay for readability */
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animation Classes */
.footer-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.footer-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.branches-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.branches-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 10px;
}

.branches-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

.branch-card {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.branch-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.branch-icon {
    width: 60px;
    height: 60px;
    background: rgba(203, 147, 68, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.branch-icon svg {
    width: 30px;
    height: 30px;
}

.branch-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.branch-card .address {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.contact-numbers a {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-numbers a:hover {
    color: #fff;
    text-decoration: underline;
}

.separator {
    color: #666;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #222;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.social-btn.facebook:hover {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

.social-btn.instagram:hover {
    background: #E4405F;
    color: #fff;
    border-color: #E4405F;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    width: 100%;
    text-align: center;
}

/* Responsive Adjustments for Footer */
@media screen and (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }

    .branch-card {
        padding: 1.5rem;
    }
}


/* WhatsApp Button in Cards */
.whatsapp-btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--whatsapp-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.whatsapp-btn-card:hover {
    background-color: #1ebc57;
}

.whatsapp-btn-card svg {
    margin-left: 0;
    /* Override any defaults */
}

/* Modal Interaction Styles - Force Fixes */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 95vh;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#menuModal .modal-content {
    max-height: 70vh;
    margin: 0;
    width: auto;
    max-width: 100%;
}

.modal-interaction {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-bottom: 30px;
}

/* Arrows Container */
.arrows-container {
    display: flex;
    gap: 40px;
    /* Space between arrows to align with buttons */
    justify-content: center;
    width: 100%;
}

.animated-arrow-dual {
    color: #cb9344;
    /* Gold/brand color to match general theme */
    width: 40px;
    height: 40px;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-animation: bounce-arrow 2s infinite;
    animation: bounce-arrow 2s infinite;
    will-change: transform;
}

.animated-arrow-dual svg {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 0 5px rgba(203, 147, 68, 0.5));
    display: block;
}

/* Actions Container */
.actions-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Base Action Button */
.action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    padding: 0;
    transition: transform 0.3s ease;
    will-change: transform, box-shadow;
    text-decoration: none;
    position: relative;
    /* Force Hardware Accel */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-animation: pulse-action 2s infinite;
    animation: pulse-action 2s infinite;
}

/* Specific Button Styles */
.whatsapp-modal-btn {
    background: #fff;
    color: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.call-modal-btn {
    background: #fff;
    color: #cb9344;
    /* Brand Gold */
    box-shadow: 0 0 15px rgba(203, 147, 68, 0.4);
    flex-direction: column;
    /* Stack vertically! */
    justify-content: center;
    align-items: center;
    gap: 0;
    /* Tight gap */
}

.call-modal-btn .btn-text {
    font-size: 0.75rem;
    /* Readable small text */
    font-weight: 800;
    /* Extra bold */
    color: #000;
    position: static;
    /* Remove absolute positioning! */
    margin-top: -2px;
    /* Pull text up slightly towards icon */
    line-height: 1;
}

/* SVGs inside buttons */
.action-btn svg {
    /* Base size */
    width: 28px !important;
    height: 28px !important;
    display: block;
}

.call-modal-btn svg {
    margin-bottom: 2px;
    /* Small space between icon and text */
}

/* Unified Pulse Animation */
@-webkit-keyframes pulse-action {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        -webkit-transform: scale3d(1, 1, 1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        -webkit-transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        -webkit-transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse-action {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale3d(1, 1, 1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale3d(1, 1, 1);
    }
}

/* Specific Shadow Colors for Pulse (Override generic if needed, or stick to white glow to match 'action') */
/* Let's be specific for brand colors */
.whatsapp-modal-btn {
    animation-name: pulse-green-btn;
    -webkit-animation-name: pulse-green-btn;
}

.call-modal-btn {
    animation-name: pulse-gold-btn;
    -webkit-animation-name: pulse-gold-btn;
}

@keyframes pulse-green-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale3d(1, 1, 1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes pulse-green-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        -webkit-transform: scale3d(1, 1, 1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        -webkit-transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        -webkit-transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse-gold-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(203, 147, 68, 0.7);
        transform: scale3d(1, 1, 1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(203, 147, 68, 0);
        transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(203, 147, 68, 0);
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes pulse-gold-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(203, 147, 68, 0.7);
        -webkit-transform: scale3d(1, 1, 1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(203, 147, 68, 0);
        -webkit-transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(203, 147, 68, 0);
        -webkit-transform: scale3d(1, 1, 1);
    }
}

@media (max-height: 700px) {
    #menuModal .modal-content {
        max-height: 55vh;
    }
}

/* Tablet & Large Phones */
@media screen and (max-width: 768px) {
    .modal-body {
        justify-content: center;
    }

    #menuModal .modal-content {
        max-height: 60vh;
        max-width: 90%;
    }

    .action-btn {
        width: 60px;
        height: 60px;
    }

    .arrows-container {
        gap: 35px;
    }
}

/* Mobile Devices (Force Pixel Sizes) */
@media screen and (max-width: 480px) {
    #menuModal .modal-content {
        max-height: 52vh;
        width: auto;
        max-width: 95%;
        object-fit: contain;
    }

    .modal-interaction {
        margin-top: 10px;
        gap: 8px;
        padding-bottom: 40px;
    }

    /* Force Horizontal Alignment for Mobile */
    .actions-container {
        display: flex;
        flex-direction: row !important;
        /* Force row */
        flex-wrap: nowrap !important;
        gap: 20px;
        justify-content: center;
        width: 100%;
    }

    .arrows-container {
        display: flex;
        flex-direction: row !important;
        gap: 30px;
        justify-content: center;
    }

    .action-btn {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
        /* Prevent squishing */
    }

    .action-btn svg {
        width: 28px !important;
        height: 28px !important;
    }

    .call-modal-btn .btn-text {
        font-size: 0.6rem;
        /* Position is static now, margins handle it */
    }

    .call-modal-btn svg {
        margin-bottom: 2px;
    }

    .animated-arrow-dual {
        width: 35px;
        height: 35px;
    }
}

/* About Us Section */
.about-us-section {
    padding: 6rem 2rem;
    background: radial-gradient(circle at 80% 20%, rgba(203, 147, 68, 0.05) 0%, transparent 50%), 
                linear-gradient(180deg, var(--bg-color) 0%, #141414 100%);
    border-top: 1px solid rgba(203, 147, 68, 0.15);
    border-bottom: 1px solid rgba(203, 147, 68, 0.15);
    position: relative;
    overflow: hidden;
}

.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-us-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: right;
}

.about-us-badge {
    align-self: flex-start;
    background: rgba(203, 147, 68, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(203, 147, 68, 0.1);
    animation: pulse-badge 3s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 10px rgba(203, 147, 68, 0.1);
        border-color: rgba(203, 147, 68, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(203, 147, 68, 0.3);
        border-color: var(--primary-color);
    }
}

.about-us-content h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    line-height: 1.2;
}

.about-us-content h3 {
    font-size: 1.5rem;
    color: #e0e0e0;
    font-weight: 400;
    border-bottom: 2px dashed rgba(203, 147, 68, 0.3);
    padding-bottom: 1rem;
    display: inline-block;
    align-self: flex-start;
}

.about-us-content p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-us-content p strong {
    color: var(--primary-color);
}

.about-us-signature {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-style: italic;
    margin-top: 1rem;
    position: relative;
    padding-right: 1.5rem;
}

.about-us-signature::before {
    content: '★';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
}

/* About Us Image styles */
.about-us-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us-image-frame {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-color), transparent 60%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-us-image-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(203, 147, 68, 0.3);
    border-radius: 25px;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.about-us-image-frame:hover {
    transform: translateY(-10px) rotate(1deg);
}

.about-us-image-frame:hover::after {
    transform: scale(1.03);
    border-color: var(--primary-color);
}

.about-us-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    border: 2px solid #222;
    transition: filter 0.5s ease;
}

.about-us-image-frame:hover .about-us-image {
    filter: brightness(1.1);
}

.about-us-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #000;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(203, 147, 68, 0.4);
    animation: bounce-badge 6s ease-in-out infinite;
    z-index: 10;
}

@keyframes bounce-badge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.about-us-experience-badge .years {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.about-us-experience-badge .text {
    font-size: 0.75rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 5px;
    white-space: nowrap;
}

/* Tablet & Mobile styles for About Us */
@media screen and (max-width: 992px) {
    .about-us-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-us-content {
        align-items: center;
        text-align: center;
    }

    .about-us-badge {
        align-self: center;
    }

    .about-us-content h3 {
        align-self: center;
    }

    .about-us-signature {
        padding-right: 0;
    }
    .about-us-signature::before {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .about-us-section {
        padding: 4rem 1rem;
    }

    .about-us-content h2 {
        font-size: 2.2rem;
    }

    .about-us-experience-badge {
        bottom: -15px;
        right: -10px;
        padding: 0.6rem;
    }

    .about-us-experience-badge .years {
        font-size: 1.8rem;
    }
}

/* Google Maps Section */
.map-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #141414 0%, var(--bg-color) 100%);
    border-bottom: 1px solid rgba(203, 147, 68, 0.15);
    position: relative;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.map-badge {
    background: rgba(203, 147, 68, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(203, 147, 68, 0.1);
    letter-spacing: 1px;
}

.map-header h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.map-header p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Map Tabs */
.map-tabs {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
    background: rgba(30, 30, 30, 0.5);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid #333;
}

.map-tab-btn {
    background: transparent;
    border: none;
    color: #aaa;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.map-tab-btn.active {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 5px 15px rgba(203, 147, 68, 0.3);
}

.map-tab-btn:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(203, 147, 68, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #111;
}

.map-iframe-container {
    display: none;
    position: relative;
    width: 100%;
    height: 450px;
}

.map-iframe-container.active {
    display: block;
    animation: fadeInMap 0.5s ease-in-out;
}

@keyframes fadeInMap {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
    border: 0;
    display: block;
}

/* Map Info Overlay */
.map-info-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(203, 147, 68, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    max-width: 350px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    text-align: right;
}

.map-info-overlay h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
}

.map-info-overlay p {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: #000;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.95rem;
    text-decoration: none;
}

.map-link-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .map-section {
        padding: 4rem 1rem;
    }
    
    .map-header h2 {
        font-size: 2.2rem;
    }
    
    .map-iframe-container {
        height: 350px;
    }
    
    .map-info-overlay {
        position: relative;
        bottom: 0;
        right: 0;
        max-width: 100%;
        margin: 10px;
        border-radius: 10px;
        background: rgba(15, 15, 15, 0.95);
    }
    
    .map-wrapper {
        border-radius: 15px;
    }
}

/* Glowing Hotline Container styling */
.hotline-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(203, 147, 68, 0.3) 0%, rgba(203, 147, 68, 0.05) 100%);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(203, 147, 68, 0.4);
    position: relative;
    overflow: hidden;
    margin: 1rem 0;
    cursor: pointer;
    z-index: 5;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    animation: hotline-glow-pulse 2s infinite alternate;
}

.hotline-container:hover {
    background: linear-gradient(135deg, rgba(203, 147, 68, 0.5) 0%, rgba(203, 147, 68, 0.15) 100%);
    box-shadow: 0 0 35px rgba(203, 147, 68, 0.9), inset 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.05);
    border-color: #fff;
}

.phone-icon {
    width: 28px;
    height: 28px;
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
    animation: phone-shake 1.5s infinite ease-in-out;
}

.hotline-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-align: right;
}

.hotline-text span {
    font-size: 0.85rem;
    color: #ddd;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.hotline-text strong {
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px var(--primary-color);
}

@keyframes hotline-glow-pulse {
    0% {
        box-shadow: 0 0 15px rgba(203, 147, 68, 0.4), inset 0 0 5px rgba(203, 147, 68, 0.1);
        border-color: rgba(203, 147, 68, 0.8);
    }
    100% {
        box-shadow: 0 0 30px rgba(203, 147, 68, 0.8), inset 0 0 15px rgba(203, 147, 68, 0.3);
        border-color: #fff;
    }
}

@keyframes phone-shake {
    0%, 100% { transform: rotate(0deg) scale(1); }
    10% { transform: rotate(-15deg) scale(1.1); }
    20% { transform: rotate(15deg) scale(1.1); }
    30% { transform: rotate(-15deg) scale(1.1); }
    40% { transform: rotate(15deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1); }
}
