/* ========================================
   SERVICO QATAR - Main Stylesheet
   ======================================== */

:root {
    --primary: #1a5f7a;
    --secondary: #f39c12;
    --accent: #27ae60;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --text: #333333;
    --gold: #D4A843;
    --teal: #0B6E4F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
a { text-decoration: none; color: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }

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

/* ========================================
   HEADER
   ======================================== */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: white; box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-top {
    background: var(--dark); padding: 8px 0; font-size: 13px; color: rgba(255,255,255,0.8);
}
.header-top-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1300px; margin: 0 auto; padding: 0 20px;
}
.header-top a { color: rgba(255,255,255,0.8); transition: color 0.3s; }
.header-top a:hover { color: var(--secondary); }
.header-top .top-left { display: flex; gap: 20px; align-items: center; }
.header-top .top-left i { color: var(--secondary); margin-right: 5px; }
.header-top .social-top { display: flex; gap: 8px; }
.header-top .social-top a {
    width: 30px; height: 30px; border-radius: 50; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; font-size: 12px;
    transition: all 0.3s;
}
.header-top .social-top a:hover { background: var(--secondary); }

.header-main { padding: 10px 0; }
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1300px; margin: 0 auto; padding: 0 20px;
}
.logo img { height: 60px; width: auto; }

nav.desktop-nav { display: flex; gap: 5px; align-items: center; }
.nav-link {
    color: var(--dark); font-weight: 600; font-size: 14px; padding: 8px 14px;
    transition: all 0.3s; border-radius: 6px; position: relative;
}
.nav-link:hover { color: var(--secondary); background: rgba(243,156,18,0.08); }
.nav-link.active { color: var(--secondary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: white; min-width: 220px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 10px; padding: 8px 0; z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 10px 20px; color: var(--dark);
    font-size: 13px; font-weight: 500; transition: all 0.3s;
}
.dropdown-menu a:hover { background: var(--primary); color: white; }
.dropdown-menu a.active { background: var(--secondary); color: white; }

.mobile-menu-btn {
    display: none; background: none; border: none;
    font-size: 24px; color: var(--dark); cursor: pointer; padding: 8px;
}

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: white; z-index: 999; padding: 80px 20px 20px; overflow-y: auto;
}
.mobile-nav.active { display: flex; flex-direction: column; }
.mobile-nav a {
    color: var(--dark); font-size: 16px; font-weight: 600;
    text-decoration: none; padding: 12px 0; border-bottom: 1px solid #eee;
    display: block;
}
.mobile-nav a:hover { color: var(--secondary); }
.mobile-menu-close {
    position: absolute; top: 15px; right: 20px; background: none;
    border: none; color: var(--dark); font-size: 28px; cursor: pointer;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover;
    background-position: center;
}
.hero-overlay { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
    display: inline-block; background: var(--secondary); color: white;
    padding: 8px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
    margin-bottom: 20px;
}

/* ========================================
   PAGE HEADER/BANNER
   ======================================== */
.page-header {
    padding: 200px 0 80px; position: relative; overflow: hidden;
}
.page-header-bg {
    position: absolute; inset: 0; background-size: cover;
    background-position: center;
}
.page-header-overlay { position: absolute; inset: 0; }
.page-header-content { position: relative; z-index: 2; }
.breadcrumb {
    display: flex; gap: 10px; align-items: center; margin-bottom: 15px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.8); font-size: 14px; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: white; font-size: 14px; }
.breadcrumb .sep { color: var(--secondary); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 14px 32px; border-radius: 50px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center;
    gap: 10px; transition: all 0.3s ease; font-size: 15px;
    cursor: pointer; border: none; font-family: 'Open Sans', sans-serif;
}
.btn-primary { background: var(--secondary); color: white; }
.btn-primary:hover {
    background: #e67e22; transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243,156,18,0.4);
}
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover {
    background: #1a252f; transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44,62,80,0.4);
}
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--dark); }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-white { background: white; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header.left { text-align: left; }
.section-label {
    display: inline-block; color: var(--secondary); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; font-size: 14px;
    margin-bottom: 10px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 15px; }
.section-subtitle { font-size: 1.05rem; color: #666; max-width: 650px; }

/* ========================================
   SERVICE CARDS
   ======================================== */
.icon-service-card {
    background: white; padding: 35px 25px; border-radius: 15px;
    text-align: center; box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.icon-service-card:hover {
    transform: translateY(-8px); box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.icon-service-card img {
    width: 60px; height: 60px; object-fit: contain; margin-bottom: 20px;
}
.icon-service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--dark); }
.icon-service-card p { color: #666; font-size: 0.9rem; }

.detail-card {
    background: white; padding: 35px; border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08); transition: all 0.3s;
    border-left: 4px solid var(--primary); height: 100%;
}
.detail-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-left-color: var(--secondary);
}
.detail-card-icon {
    width: 65px; height: 65px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.detail-card-icon i { font-size: 28px; color: white; }
.detail-card h4 { font-size: 1.2rem; color: var(--dark); margin-bottom: 12px; }
.detail-card ul { list-style: none; padding: 0; }
.detail-card li {
    color: #666; font-size: 0.9rem; margin-bottom: 8px;
    padding-left: 22px; position: relative;
}
.detail-card li::before {
    content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

/* ========================================
   GRIDS
   ======================================== */
.service-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
}
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
    align-items: start;
}

/* ========================================
   WHY CHOOSE CARDS
   ======================================== */
.why-card { text-align: center; padding: 30px; }
.why-card-icon {
    width: 90px; height: 90px; background: linear-gradient(135deg, var(--primary), #2980b9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.why-card-icon i { font-size: 35px; color: white; }
.why-card h4 { font-size: 1.2rem; color: var(--dark); margin-bottom: 10px; }
.why-card p { color: #666; font-size: 0.95rem; }

/* ========================================
   TWO COLUMN
   ======================================== */
.two-col-img {
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.two-col-img img { width: 100%; height: auto; display: block; }

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    padding: 70px 0; position: relative; background-size: cover; background-position: center;
}
.cta-overlay { position: absolute; inset: 0; }
.cta-content { position: relative; z-index: 2; text-align: center; color: white; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 25px; }

/* ========================================
   GALLERY
   ======================================== */
.gallery-item {
    height: 250px; border-radius: 15px; overflow: hidden;
    cursor: pointer; position: relative;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0); transition: all 0.3s;
}
.gallery-item:hover::after { background: rgba(0,0,0,0.3); }

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    z-index: 2000; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 10px; }
.lightbox-close {
    position: absolute; top: 20px; right: 20px; color: white;
    font-size: 30px; cursor: pointer; background: none; border: none;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-info-box {
    background: var(--dark); padding: 45px; border-radius: 20px; color: white;
}
.contact-info-box h3 { font-size: 2rem; margin-bottom: 15px; }
.contact-info-box > p { opacity: 0.85; margin-bottom: 30px; }
.contact-item {
    display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px;
}
.contact-item > i {
    width: 50px; height: 50px; background: var(--secondary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.contact-item h5 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-item p { opacity: 0.85; font-size: 0.9rem; }
.contact-form-box {
    background: white; padding: 45px; border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.contact-form-box h3 { font-size: 1.8rem; color: var(--dark); margin-bottom: 25px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; border: 2px solid #e8e8e8;
    border-radius: 10px; font-size: 14px; font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-submit {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--primary), #2980b9);
    color: white; border: none; border-radius: 10px; font-size: 1rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
    font-family: 'Open Sans', sans-serif;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26,95,122,0.4);
}

/* ========================================
   FOOTER
   ======================================== */
footer { background: var(--dark); color: white; }
.footer-main { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-about p { opacity: 0.8; font-size: 0.95rem; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 42px; height: 42px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: white; transition: all 0.3s;
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-col h4 { font-size: 1.15rem; margin-bottom: 20px; color: var(--secondary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,0.75); font-size: 14px; transition: all 0.3s;
}
.footer-col a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px;
}
.footer-contact-item i { color: var(--secondary); margin-top: 3px; font-size: 16px; }
.footer-contact-item p { opacity: 0.8; font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0; text-align: center;
}
.footer-bottom p { opacity: 0.6; font-size: 14px; }

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0; transform: translateY(30px); transition: all 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   PRIVACY / CONTENT PAGES
   ======================================== */
.content-page { max-width: 800px; margin: 0 auto; }
.content-page h3 { color: var(--dark); margin: 25px 0 15px; }
.content-page p { color: #666; margin-bottom: 15px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .header-top { display: none; }
    nav.desktop-nav { display: none !important; }
    .mobile-menu-btn { display: block; }
    .service-grid-3, .why-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .service-grid-3, .why-grid, .stats-grid,
    .service-grid-2 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .page-header { padding: 150px 0 60px; }
    .detail-card { padding: 25px; }
}
