/* Import Tailwind Utilities and Base Styles */
@import url('tailwind-utilities.css');
@import url('home.css');

/* Import Component Styles */
@import url('../../components/header/header.css');
@import url('../../components/footer/footer.css');

/* Static Pages Common Styles */

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #f59e0b;
    color: white;
    transform: translateY(-2px);
}

/* Minimal Hero Section */
.hero-minimal {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-minimal .hero-content {
    margin-bottom: 0;
}

.hero-minimal .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-minimal .hero-title {
        font-size: 2.5rem;
    }
}

/* Content Section */
.content-section {
    padding: 4rem 1rem;
}

.content-grid {
    display: grid;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.content-main {
    max-width: 100%;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #64748b;
}

.feature-item i {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

/* Info Cards */
.info-card {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-item {
    text-align: center;
}

.info-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.info-label {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
}

/* Values List */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #64748b;
}

.value-item i {
    font-size: 1.25rem;
    color: #fbbf24;
    width: 1.5rem;
}

/* Team Section */
.team-section {
    background: #f8fafc;
    padding: 4rem 1rem;
}

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

.team-member {
    text-align: center;
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
        gap: 4rem;
    }
}

.form-intro {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #334155;
    background: white;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #64748b;
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #fbbf24;
}

.btn-form {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .btn-form {
        width: auto;
    }
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, #fbbf24, #f97316);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Hours List */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #334155;
}

.time {
    color: #64748b;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link-large {
    width: 3rem;
    height: 3rem;
    background: #e2e8f0;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-large:hover {
    background: linear-gradient(to right, #fbbf24, #f97316);
    transform: translateY(-3px);
}

.social-link-large i {
    font-size: 1.25rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.social-link-large:hover i {
    color: white;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 4rem 1rem;
}

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

.faq-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #64748b;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    background: #f8fafc;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.125rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Desert Page Styles */

/* Desert Hero Section */
.desert-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.desert-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.desert-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.desert-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .desert-hero .hero-title {
        font-size: 4rem;
    }
}

.btn-hero {
    background: white;
    color: #f97316;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Fact Cards */
.fact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #fbbf24;
}

.fact-card i {
    font-size: 2.5rem;
    color: #f97316;
    margin-bottom: 1rem;
}

.fact-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.fact-card p {
    font-size: 1.25rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

.fact-detail {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Features Section */
.features-section {
    background: #f8fafc;
    padding: 5rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #64748b;
    line-height: 1.7;
}

/* Activities Section */
.activities-section {
    padding: 5rem 1rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #fbbf24, #f97316);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.activity-card:hover::before {
    transform: translateX(0);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i {
    font-size: 2rem;
    color: #f97316;
}

.activity-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.activity-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.activity-link {
    color: #f97316;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-link:hover {
    color: #ea580c;
    gap: 1rem;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #f97316;
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #f97316;
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Page Hero Base Styles */
.page-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 100px; /* Account for fixed header */
    padding-bottom: 3rem;
    margin: 2rem auto;
    position: relative;
    max-width: 1280px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.page-hero .hero-overlay {
    width: 100%;
    padding: 0 2rem;
}

.page-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

@media (max-width: 1312px) {
    .page-hero {
        margin: 2rem 1rem;
    }
}

/* Destinations Page Styles */
.destinations-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/morocco-hero.svg') center/cover;
}

.destinations-section {
    padding: 5rem 1rem;
    background: #f8fafc;
}

.destination-category {
    margin-bottom: 4rem;
}

.destination-category h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

/* Destination Cards */
.destination-card {
    display: block;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.destination-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.destination-label {
    display: inline-block;
    background: rgba(251, 191, 36, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.destination-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.destination-subtitle {
    font-size: 1rem;
    color: #f97316;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.destination-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.destination-link {
    color: #f97316;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.destination-card:hover .destination-link {
    color: #ea580c;
}

/* Travel Tips */
.tip-card {
    text-align: center;
}

.tip-card i {
    display: block;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.tip-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    padding: 4rem 2rem;
    margin: 4rem auto 2rem;
    max-width: 1280px;
    border-radius: 1.5rem;
    overflow: hidden;
}

@media (max-width: 1312px) {
    .cta-section {
        margin: 4rem 1rem 2rem;
    }
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: #f97316;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}