@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-white: #ffffff;
    --malta-orange: #ff9800; /* Malta / Orange color */
    --malta-orange-hover: #f57c00;
    --text-dark: #2d3436;
    
    /* Aluminum & Glass properties */
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-shadow: 0 8px 32px 0 rgba(160, 170, 180, 0.3);
    --aluminum-gradient: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    --blur: blur(16px);
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--aluminum-gradient);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

/* Glassmorphism Utilities (Shisha/Aluminum Style) */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Shiny reflection effect for the glass/aluminum feel */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -150%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.glass-panel:hover::before {
    left: 200%;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 4px solid #dcdcdc; /* Mimics the AC air flap */
    border-radius: 0 0 30px 30px; /* Looks like an indoor AC unit */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* Strong shadow for wall mounted look */
    margin: 0 auto;
    max-width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--malta-orange);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--malta-orange);
    transition: var(--transition);
    border-radius: 2px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: url('../images/hero section background.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px); /* 10% blur effect */
    z-index: -2;
    animation: heroBgSlider 20s infinite alternate;
}

@keyframes heroBgSlider {
    0% { background-image: url('../images/hero section background.jpg'); }
    33% { background-image: url('../images/ac service 2.jpg'); }
    66% { background-image: url('../images/ac_unit.jpg'); }
    100% { background-image: url('../images/hero section background.jpg'); }
}

/* Overlay to ensure the background isn't too overpowering */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

.hero-content {
    max-width: 1100px;
    width: 95%;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 2px 5px rgba(255,255,255,0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--malta-orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    background: var(--malta-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.4);
    color: #fff;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.5rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

/* Google Reviews Styling */
.reviews-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 10px 10px 30px 10px;
    margin: 0 -10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--malta-orange) transparent;
}

.reviews-scroll-container::-webkit-scrollbar {
    height: 6px;
}
.reviews-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
.reviews-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--malta-orange);
    border-radius: 10px;
}

.review-card {
    min-width: 320px;
    max-width: 350px;
    scroll-snap-align: start;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 auto;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reviewer-profile {
    display: flex;
    gap: 12px;
    align-items: center;
}

.profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #eee;
    object-fit: cover;
    display: block;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.stars {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 2px;
}

.google-logo {
    width: 24px;
    height: 24px;
}

.review-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* FAQ Accordion Styling */
details.glass-panel summary::-webkit-details-marker {
    display: none;
}
details.glass-panel summary {
    list-style: none;
    position: relative;
    padding-right: 30px;
    outline: none;
}
details.glass-panel summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--malta-orange);
    transition: transform 0.3s ease;
}
details.glass-panel[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--malta-orange);
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Service Detail Page Layout */
.page-header {
    padding: 180px 0 60px;
    text-align: center;
}

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

.detail-text {
    flex: 1;
}

.detail-image {
    flex: 1;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.detail-image:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-col h4 {
    color: var(--malta-orange);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: #555;
    margin-bottom: 0.5rem;
}

.footer-col p a:hover {
    color: var(--malta-orange);
}

.footer-bottom {
    text-align: center;
    color: #777;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Form Styles */
input, select, textarea {
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--malta-orange);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        top: 0;
    }
    .nav-container {
        padding: 1rem 1.5rem;
        border-radius: 0 0 25px 25px; /* Keep AC shape on mobile */
    }
    .hero-bg {
        filter: blur(2px); /* Make image much clearer on mobile */
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 120%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        text-align: center;
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        box-shadow: var(--glass-shadow);
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.8rem 1.5rem;
    }
    .nav-links a {
        display: block;
        text-align: start;
        background: rgba(0, 0, 0, 0.04);
        padding: 12px 25px;
        border-radius: 30px;
        border: 1px solid rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }
    .nav-links a:hover, .nav-links a.active {
        background: var(--malta-orange);
        color: white;
        border-color: var(--malta-orange);
        box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
    }
    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 5vw; /* Scales with screen width to prevent wrapping */
        white-space: nowrap !important;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 3.5vw !important; /* Scales to stay on 1 line */
        white-space: nowrap !important;
        margin-bottom: 1rem !important;
    }

    .hero-description {
        font-size: 3.2vw !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content {
        padding: 1.5rem !important;
    }

    .detail-content {
        flex-direction: column;
    }
    
    .detail-image {
        order: -1;
    }
}

/* Hide Google Translate Default Banner & Popups */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
body > .skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body {
    top: 0px !important;
    position: static !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}

/* Hardcoded Translation Toggles */
.ar-only { display: none !important; }
body[dir="rtl"] .en-only { display: none !important; }
body[dir="rtl"] .ar-only { display: inline-block !important; }

/* --- Fixes for Hero Section (Sizes and RTL Alignment) --- */
.hero-title {
    font-size: 3.5rem !important;
}
.hero-subtitle {
    font-size: 2rem !important;
}
.hero-content {
    padding: 5rem 3.5rem !important; /* making it longer */
}

body[dir="rtl"] .hero-description {
    text-align: center !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 8vw !important;
    }
    .hero-subtitle {
        font-size: 3.8vw !important; /* Smaller so it fits on one line */
    }
    .hero-content {
        padding: 4rem 1.5rem !important; /* longer mobile card */
    }
    .hero-description {
        font-size: 4.2vw !important;
    }
}

.hero-title {
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word;
}
.hero-subtitle {
    text-align: center !important;
    white-space: nowrap !important;
}
body[dir="rtl"] .hero-description {
    display: block !important;
    text-align: center !important;
}
