/*
Theme Name: Sharm Tours Mobile Pro
Version: 5.0.0
Description: Mobile-First Tours Theme - Exactly like reference images
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --orange: #ff8800;
    --blue: #0066cc;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header - Mobile */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 10px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img { max-height: 40px; }
.site-logo h1 { font-size: 20px; margin: 0; color: var(--blue); }

/* Mobile Menu Button */
.mobile-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* Mobile Menu */
.main-navigation {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 998;
}

.main-navigation.active { right: 0; }

.main-navigation ul {
    list-style: none;
    padding: 20px 0;
}

.main-navigation li {
    border-bottom: 1px solid #eee;
}

.main-navigation a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.language-switcher {
    padding: 20px;
    border-top: 2px solid #eee;
    display: flex;
    gap: 10px;
}

.lang-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.lang-link.current-lang {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* Tours Archive - All in One Page */
.tours-archive {
    padding: 20px 0;
}

.tours-archive h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Category Buttons - Beautiful */
.categories-filter {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 15px 0;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.categories-filter::-webkit-scrollbar { display: none; }

.cat-btn {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid var(--orange);
    border-radius: 25px;
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--orange);
    color: #fff;
}

/* Tours Grid - Mobile */
.tours-list {
    display: grid;
    gap: 20px;
}

.tour-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tour-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.tour-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.tour-content {
    padding: 15px;
}

.tour-category {
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tour-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.tour-title a {
    color: inherit;
    text-decoration: none;
}

.tour-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tour-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
}

.book-btn {
    padding: 10px 20px;
    background: var(--orange);
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

/* Single Tour - Like Images */
.single-tour-page {
    background: #fff;
}

.tour-gallery-main {
    position: relative;
    height: 250px;
    background: #000;
}

.tour-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-thumbnails {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 10px 0;
    background: #fff;
}

.tour-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

/* Tour Info Boxes - Like Images */
.tour-info-section {
    padding: 15px;
}

.info-box {
    background: #fff;
    border: 2px solid var(--orange);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.info-box-icon {
    color: var(--orange);
    font-size: 20px;
    margin-right: 10px;
}

.info-label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

/* Price Box */
.price-box {
    background: #fff;
    border: 3px solid var(--orange);
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    text-align: center;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--orange);
}

.price-label {
    font-size: 14px;
    color: var(--gray);
}

/* Included/Not Included - Like Images */
.included-section {
    padding: 15px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 18px;
    color: var(--dark);
    margin: 0;
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.included-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.not-included-list li::before {
    content: '✗';
    color: #dc3545;
}

/* Sticky Book Button */
.sticky-book {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.sticky-book-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--orange);
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

/* WhatsApp/Telegram Buttons */
.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-btn { background: #25D366; }
.telegram-btn { background: #0088cc; }

/* FAQ - Orange Style */
.faq-section {
    padding: 20px 15px;
}

.faq-title {
    text-align: center;
    background: var(--orange);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 18px;
}

.faq-item {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--orange);
}

.faq-question.active::after {
    content: '−';
}

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

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

.faq-answer-content {
    padding: 0 15px 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 30px 15px;
}

.footer-section {
    margin-bottom: 25px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

/* Tablet */
@media (min-width: 768px) {
    .tours-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .mobile-toggle { display: none; }
    .main-navigation {
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        right: 0;
    }
    .main-navigation ul {
        display: flex;
        gap: 20px;
        padding: 0;
    }
    .main-navigation li { border: none; }
    .language-switcher { padding: 0; border: none; }
}

/* Desktop */
@media (min-width: 1024px) {
    .tours-list { grid-template-columns: repeat(3, 1fr); }
}
