/* Responsive Design Enhancements for Frera Safaris */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .booking-wrapper {
        gap: 30px;
    }

    .tour-header-banner {
        height: 300px;
    }

    .tour-header-overlay h2 {
        font-size: 2rem;
    }

    .inclusions-grid,
    .activities-list,
    .highlights-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets (600px - 768px) */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-logo i {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .language-selector {
        width: 100%;
        margin: 10px 0 0 0;
    }

    .language-selector select {
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero adjustments */
    .hero {
        min-height: 60vh;
    }

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

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

    /* Page header adjustments */
    .page-header {
        padding: 60px 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Section spacing */
    .featured-tours,
    .why-us,
    .tripadvisor-section,
    .sustainability,
    .stakeholders,
    .team-section,
    .awards-section,
    .impact-section,
    .wellness-intro,
    .wellness-programs,
    .community-wellness,
    .wellness-benefits,
    .booking-section,
    .why-book {
        padding: 60px 20px;
    }

    /* Grid adjustments */
    .tours-grid,
    .benefits-grid,
    .ratings-container,
    .team-grid,
    .wellness-grid,
    .community-grid,
    .awards-grid,
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .inclusions-grid,
    .activities-list,
    .highlights-list,
    .mvv-grid,
    .impact-stats,
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Tour package adjustments */
    .tour-content {
        padding: 25px;
    }

    .tour-intro {
        font-size: 1rem;
    }

    .detail-section {
        margin-bottom: 35px;
    }

    .detail-section h3 {
        font-size: 1.3rem;
    }

    /* Booking form adjustments */
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .booking-summary {
        position: static;
        margin-top: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    fieldset {
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    /* Filters */
    .filter-group {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* Headings */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.05rem;
    }

    /* Button adjustments */
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* CTA section */
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    /* Team member cards */
    .member-image {
        height: 250px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Sustainability */
    .sustainability-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Logo section */
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-item img {
        max-height: 70px;
    }

    /* Rating cards */
    .rating-card {
        padding: 20px;
    }

    .rating-header {
        flex-direction: column;
        text-align: center;
    }

    .ta-logo {
        margin-left: 0;
        margin-top: 10px;
    }

    /* Text adjustments */
    p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }

    /* Inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    /* Wellness cards */
    .wellness-package {
        margin-bottom: 20px;
    }

    .package-image {
        height: 200px;
    }

    .package-content {
        padding: 20px;
    }

    .package-content h3 {
        font-size: 1.2rem;
    }

    .package-description {
        font-size: 0.9rem;
    }

    /* Tour header banner */
    .tour-header-banner {
        height: 250px;
        margin-bottom: 2rem;
    }

    .tour-header-overlay h2 {
        font-size: 1.7rem;
    }

    .tour-header-overlay .duration {
        font-size: 0.95rem;
    }

    /* Activity icons */
    .activity-icon {
        font-size: 1.5rem;
    }

    .benefit-card i,
    .community-card i,
    .feature-item i {
        font-size: 2rem;
    }

    .mvv-card i {
        font-size: 2.5rem;
    }

    .award-item i {
        font-size: 2rem;
    }

    /* Booking summary */
    .summary-item {
        font-size: 0.9rem;
    }

    .price-value {
        font-size: 1.2rem;
    }

    .help-section p {
        font-size: 0.85rem;
    }

    /* Team member info */
    .member-info {
        padding: 20px;
    }

    .member-info h3 {
        font-size: 1.1rem;
    }

    .bio {
        font-size: 0.85rem;
    }

    .skill {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Impact section */
    .impact-content {
        max-width: 100%;
    }

    .impact-list li {
        padding: 12px 0;
    }
}

/* Mobile Phones (< 600px) */
@media (max-width: 600px) {
    :root {
        font-size: 13px;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0.7rem 1rem;
        flex-wrap: wrap;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo i {
        font-size: 1.3rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        gap: 0;
        padding: 2rem 0;
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .language-selector {
        width: 100%;
        order: 3;
        margin: 10px 0 0 0;
    }

    .language-selector select {
        width: 100%;
        font-size: 0.9rem;
    }

    /* Hero section */
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-content {
        padding: 20px;
    }

    /* Page header */
    .page-header {
        padding: 40px 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* Section padding */
    section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .featured-tours,
    .why-us,
    .tripadvisor-section,
    .sustainability,
    .stakeholders,
    .team-section,
    .awards-section,
    .impact-section,
    .wellness-intro,
    .wellness-programs,
    .community-wellness,
    .wellness-benefits,
    .booking-section,
    .why-book,
    .cta-section {
        padding: 40px 15px;
    }

    /* Headings */
    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    h4 {
        font-size: 0.95rem;
    }

    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .btn-book {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    /* Cards and grids */
    .tour-card,
    .benefit-card,
    .team-member,
    .rating-card,
    .mvv-card,
    .wellness-package,
    .community-card,
    .award-item,
    .feature-item {
        margin-bottom: 15px;
    }

    .inclusion-item,
    .activity-item {
        padding: 15px;
    }

    .inclusion-item i {
        font-size: 1.8rem;
    }

    /* Tour package */
    .tour-content {
        padding: 15px;
    }

    .tour-header-banner {
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .tour-header-overlay h2 {
        font-size: 1.4rem;
    }

    .tour-header-overlay .duration {
        font-size: 0.85rem;
    }

    .tour-intro {
        font-size: 0.9rem;
        text-align: left;
    }

    .detail-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    /* Form */
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-form-container h2 {
        font-size: 1.3rem;
    }

    .form-subtitle {
        font-size: 0.9rem;
    }

    fieldset {
        padding: 15px;
        margin-bottom: 15px;
    }

    legend {
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 80px;
    }

    /* Booking summary */
    .booking-summary {
        padding: 15px;
    }

    .booking-summary h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .summary-item {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .price-row {
        font-size: 0.85rem;
    }

    .price-value {
        font-size: 1.05rem;
    }

    .help-section {
        padding: 15px;
        margin-top: 15px;
    }

    .help-section h4 {
        font-size: 0.95rem;
    }

    .help-section p {
        font-size: 0.8rem;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .newsletter h2 {
        font-size: 1.3rem;
    }

    .newsletter p {
        font-size: 0.95rem;
    }

    /* Filters */
    .tour-filters {
        padding: 30px 15px;
    }

    .filter-group {
        gap: 8px;
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 40px 15px 15px;
    }

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

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: center;
        gap: 10px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    /* Logos */
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .logo-item img {
        max-height: 50px;
    }

    /* Text content */
    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Images */
    .member-image {
        height: 200px;
    }

    /* Icons */
    .benefit-card i,
    .community-card i,
    .feature-item i {
        font-size: 1.5rem;
    }

    .mvv-card i {
        font-size: 2rem;
    }

    .award-item i {
        font-size: 1.5rem;
    }

    .activity-icon {
        font-size: 1.3rem;
    }

    /* Stat cards */
    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-card p {
        font-size: 0.85rem;
    }

    /* Wellness packages */
    .package-image {
        height: 180px;
    }

    .package-content {
        padding: 15px;
    }

    .package-content h3 {
        font-size: 1.1rem;
    }

    .package-description {
        font-size: 0.85rem;
    }

    .program-details {
        padding: 12px;
    }

    .program-details h4 {
        font-size: 0.9rem;
    }

    .program-details ul li {
        font-size: 0.8rem;
    }

    /* Team member cards */
    .member-info {
        padding: 15px;
    }

    .member-info h3 {
        font-size: 1rem;
    }

    .position {
        font-size: 0.8rem;
    }

    .bio {
        font-size: 0.8rem;
    }

    .skill {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 1.3rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    /* Back to top button */
    #backToTop {
        width: 40px;
        height: 40px;
        padding: 8px 10px;
        font-size: 0.7rem;
    }

    /* Sustainability content */
    .sustainability-list li {
        padding-left: 25px;
        font-size: 0.9rem;
    }

    .sustainability-list li::before {
        font-size: 1rem;
    }

    /* Award items */
    .award-item h4 {
        font-size: 0.95rem;
    }

    .award-item p {
        font-size: 0.8rem;
    }

    /* Impact list */
    .impact-list li {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    .impact-list strong {
        font-size: 0.95rem;
    }

    /* Highlights list */
    .highlights-list li {
        padding: 8px 0;
        font-size: 0.85rem;
    }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 480px) {
    :root {
        font-size: 12px;
    }

    .container {
        padding: 0 12px;
    }

    h1 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    h2 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .hero-content {
        padding: 15px;
    }

    /* Section padding */
    section {
        padding: 30px 12px;
    }

    /* Buttons */
    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .btn-large {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* Form */
    fieldset {
        padding: 12px;
        margin-bottom: 12px;
    }

    legend {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 8px;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    /* Filters */
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Cards */
    .tour-card,
    .benefit-card,
    .team-member,
    .rating-card {
        margin-bottom: 12px;
    }

    .inclusion-item,
    .activity-item {
        padding: 12px;
    }

    .inclusion-item i {
        font-size: 1.5rem;
    }

    /* Tour header */
    .tour-header-banner {
        height: 150px;
    }

    .tour-header-overlay h2 {
        font-size: 1.2rem;
    }

    /* Footer */
    .footer {
        padding: 30px 12px 10px;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    /* Icons */
    .benefit-card i,
    .community-card i {
        font-size: 1.2rem;
    }

    .mvv-card i {
        font-size: 1.5rem;
    }

    /* Stat number */
    .stat-number {
        font-size: 1.5rem;
    }

    /* Team member */
    .member-image {
        height: 150px;
    }

    .member-info {
        padding: 12px;
    }

    .member-info h3 {
        font-size: 0.9rem;
    }

    /* Booking summary */
    .booking-summary {
        padding: 12px;
    }

    .booking-summary h3 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    /* Newsletter */
    .newsletter-form input,
    .newsletter-form button {
        font-size: 0.85rem;
    }

    /* Text alignment */
    .tour-intro {
        text-align: left;
    }

    /* Logo grid */
    .logos-grid {
        gap: 15px;
    }
}
