/* ============================================
   PHENOMENAL PLACE - Main Stylesheet
   Ancient Mysteries & Archaeological Tourism
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   ROOT VARIABLES - Design System
   ============================================ */
:root {
    /* Primary Colour Scheme */
    --ancient-teal: #2B8065;
    --ancient-teal-hover: #4A9B7E;
    --white: #FFFFFF;
    --archaeological-charcoal: #2C2C2C;
    --stone-grey: #5A5A5A;
    --light-grey: #F5F5F5;
    --border-grey: #E0E0E0;

    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --line-height: 1.6;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;
    --mobile-margin: 20px;
    --desktop-margin: 60px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */
body {
    font-family: var(--font-system);
    font-size: 16px;
    line-height: var(--line-height);
    color: var(--stone-grey);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--archaeological-charcoal);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(28px, 5vw, 36px);
}

h2 {
    font-size: clamp(24px, 4vw, 28px);
}

h3 {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--ancient-teal-hover);
}

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

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--mobile-margin);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--desktop-margin);
    }
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--mobile-margin);
    max-width: var(--container-max);
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--ancient-teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: var(--ancient-teal-hover);
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--archaeological-charcoal);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--ancient-teal);
}

/* Force white text on buttons in navigation */
.nav-menu .btn-primary {
    color: var(--white) !important;
}

.nav-menu .btn-primary:hover {
    color: var(--white) !important;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    min-width: 250px;
    padding: 1rem 0;
    margin-top: 1rem;
    border-radius: var(--radius-md);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--stone-grey);
    text-transform: none;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--light-grey);
    color: var(--ancient-teal);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--archaeological-charcoal);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--ancient-teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--ancient-teal-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--ancient-teal);
    border: 2px solid var(--ancient-teal);
}

.btn-secondary:hover {
    background: var(--ancient-teal);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(43, 128, 101, 0.9), rgba(74, 155, 126, 0.8));
    color: var(--white);
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(32px, 6vw, 48px);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero .btn {
    margin: 0.5rem;
}

/* ============================================
   CARDS & GRID LAYOUTS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 22px;
    color: var(--archaeological-charcoal);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--stone-grey);
    margin-bottom: 1.5rem;
}

/* ============================================
   ARTICLE/BLOG POST LAYOUT
   ============================================ */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-meta {
    color: var(--stone-grey);
    font-size: 14px;
    margin-bottom: 1rem;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--ancient-teal);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--stone-grey);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--light-grey);
    padding: var(--section-padding) 0;
    margin-top: 4rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-weight: 600;
    color: var(--archaeological-charcoal);
    margin-bottom: 0.5rem;
    font-size: 18px;
}

.faq-answer {
    color: var(--stone-grey);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--archaeological-charcoal);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-grey);
    border-radius: var(--radius-md);
    font-family: var(--font-system);
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--ancient-teal);
    box-shadow: 0 0 0 3px rgba(43, 128, 101, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--archaeological-charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--stone-grey);
}

.testimonial-author {
    font-weight: 600;
    color: var(--archaeological-charcoal);
}

.testimonial-role {
    font-size: 14px;
    color: var(--stone-grey);
}

/* ============================================
   FEATURES / SERVICES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 48px;
    color: var(--ancient-teal);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--stone-grey);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 1.5rem 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--stone-grey);
}

.breadcrumbs a:hover {
    color: var(--ancient-teal);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--border-grey);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-teal {
    color: var(--ancient-teal);
}

.bg-light {
    background: var(--light-grey);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 767px) {
    .hero {
        min-height: 500px;
    }

    .section {
        padding: 60px 0;
    }

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

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none;
    }
}