/* ===================================
   Doha.in - Travel Website Stylesheet
   Modern, Clean Design
   =================================== */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a3c5e;
    --color-primary-light: #2a5f8f;
    --color-accent: #c8a45a;
    --color-accent-light: #e0c67a;
    --color-text: #2d2d2d;
    --color-text-light: #5a5a5a;
    --color-text-muted: #8a8a8a;
    --color-bg-white: #ffffff;
    --color-bg-light: #f8f7f4;
    --color-bg-warm: #f3f0eb;
    --color-bg-neutral: #edeae5;
    --color-border: #e0ddd8;
    --color-border-light: #ece9e4;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--color-accent);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 14px;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    margin-bottom: 18px;
    color: var(--color-text-light);
}

ul, ol {
    margin-bottom: 18px;
    padding-left: 28px;
}

li {
    margin-bottom: 8px;
    color: var(--color-text-light);
}

blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 20px 24px;
    margin: 30px 0;
    background-color: var(--color-bg-light);
    font-style: italic;
    color: var(--color-text);
    border-radius: 0 8px 8px 0;
}

blockquote p {
    margin-bottom: 0;
    color: var(--color-text);
    font-size: 1.05rem;
}

/* ===================================
   Header & Navigation
   =================================== */

.site-header {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo:hover {
    color: var(--color-primary);
}

.site-logo .logo-accent {
    color: var(--color-accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 18px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--color-bg-warm);
    color: var(--color-primary);
}

.main-nav a.active {
    color: var(--color-accent);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 60, 94, 0.55) 0%,
        rgba(26, 60, 94, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 750px;
    padding: 0 24px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.hero-breadcrumb a:hover {
    color: #fff;
}

/* ===================================
   Content Sections
   =================================== */

.section {
    padding: var(--section-padding);
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 16px auto 0;
    font-size: 1.08rem;
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.content-block {
    margin-bottom: 40px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    margin-top: 10px;
}

.content-block h3 {
    margin-top: 30px;
    padding-top: 10px;
}

/* Article Styles */
.article-content {
    max-width: 860px;
    margin: 0 auto;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h2 {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border-light);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    margin-top: 35px;
}

/* Featured Image in Article */
.article-featured-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image figcaption {
    padding: 12px 16px;
    background-color: var(--color-bg-light);
    font-size: 0.88rem;
    color: var(--color-text-muted);
    text-align: center;
    font-style: italic;
}

/* ===================================
   Card Grid
   =================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.card {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    padding: 32px 28px;
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-warm);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

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

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   Info Box / Tip Box
   =================================== */

.info-box {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 24px 28px;
    margin: 30px 0;
}

.info-box.tip {
    border-left: 4px solid var(--color-accent);
    background-color: #fdfbf5;
}

.info-box.important {
    border-left: 4px solid var(--color-primary);
    background-color: #f5f8fb;
}

.info-box h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

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

.info-box p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Table of Contents
   =================================== */

.toc {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 40px;
}

.toc h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
    color: var(--color-primary);
}

.toc ol {
    padding-left: 20px;
    margin-bottom: 0;
}

.toc li {
    margin-bottom: 6px;
}

.toc a {
    color: var(--color-text-light);
    font-size: 0.95rem;
    text-decoration: none;
}

.toc a:hover {
    color: var(--color-accent);
}

/* ===================================
   Highlights / Feature List
   =================================== */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background-color: var(--color-bg-white);
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
}

.highlight-icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.highlight-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 1.08rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

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

.btn-accent:hover {
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary);
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background-color: #1a2332;
    color: #c5c9ce;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.footer-brand .logo-accent {
    color: var(--color-accent);
}

.footer-brand p {
    color: #9a9fa6;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #9a9fa6;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-email {
    cursor: pointer;
    color: #9a9fa6;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-email:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #6b7280;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

/* Cookie Notice */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a2332;
    color: #c5c9ce;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-bar.visible {
    transform: translateY(0);
}

.cookie-bar p {
    margin: 0;
    font-size: 0.88rem;
    color: #c5c9ce;
    flex: 1;
}

.cookie-bar a {
    color: var(--color-accent);
}

.cookie-btn {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cookie-btn:hover {
    background-color: var(--color-accent-light);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-bg-white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 16px;
        width: 100%;
    }

    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-bar {
        flex-direction: column;
        text-align: center;
    }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .article-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 340px;
    }

    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.6rem; }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
