/* ============================================
    IMPORTS
    ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* ============================================
    CSS VARIABLES
    ============================================ */
:root {
    /* Colors */
    --primary-color: rgb(8, 170, 0);
    --secondary-color: rgb(90, 255, 140);
    --black: rgb(31, 31, 31);
    --white: rgb(235, 235, 235);
    --pure-white: white;
    --muted-text: rgb(102, 102, 102);
    
    /* Spacing */
    --section-padding: 5rem 5%;
    --card-padding: 2.5rem;
    --card-padding-sm: 2rem;
    
    /* Border Radius */
    --radius-sm: 15px;
    --radius-md: 20px;
    --radius-lg: 50px;
    
    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.85rem;
    --font-size-base: 0.95rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.3rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

/* ============================================
    TYPOGRAPHY
    ============================================ */
.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
}

/* ============================================
    LAYOUT COMPONENTS
    ============================================ */

/* Sections */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ============================================
    BUTTONS
    ============================================ */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8, 170, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-contact {
    border: 2px solid var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
    HEADER & NAVIGATION
    ============================================ */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    width: 150px;
    height: auto;
}

.logo svg {
    width: 100%;
    height: auto;
    display: block;
}

.logo-path {
    fill: var(--white);
    transition: fill var(--transition-base);
}

header.scrolled .logo-path {
    fill: var(--primary-color);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: color var(--transition-base);
    font-size: var(--font-size-base);
}

header.scrolled .nav-links a {
    color: var(--black);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--black);
}

/* ============================================
    HERO SECTION
    ============================================ */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
        url('../assets/img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: var(--font-size-5xl);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: var(--font-size-xl);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
    SERVICES SECTION
    ============================================ */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--pure-white);
    padding: var(--card-padding);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--muted-text);
    line-height: 1.8;
}

/* ============================================
    TOURS SECTION
    ============================================ */
.tours {
    background: var(--pure-white);
}

.masonry-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tour-card {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    grid-column: span 1;
    grid-row: span 1;
    min-height: 400px;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tour-image {
    width: 100%;
    flex: 1;
    overflow: hidden;
    min-height: 200px;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.tour-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-location {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.tour-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.tour-description {
    color: var(--muted-text);
    line-height: 1.7;
    font-size: var(--font-size-base);
}

.tour-price {
    color: var(--primary-color);
    font-weight: 600;
}

.tour-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
    PRICING SECTION
    ============================================ */
.pricing {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.pricing .section-header * {
    color: white;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--pure-white);
    padding: var(--card-padding) var(--card-padding-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-featured {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pricing-featured:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(8, 170, 0, 0.4);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--black);
}

.pricing-subtitle {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.pricing-details {
    margin: 2rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

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

.route {
    color: var(--black);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

.pricing-note {
    color: var(--muted-text);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #ddd;
    text-align: center;
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
}

.pricing-footer p {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.pricing-footer i {
    font-size: 1.3rem;
}

/* ============================================
    ABOUT SECTION
    ============================================ */
.about {
    background: var(--white);
}

.why-us {
    margin-bottom: 5rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: var(--pure-white);
    padding: var(--card-padding-sm);
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature p {
    color: #666;
}

/* Story Content */
.story-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.story-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

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

.story-text h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.story-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-features {
    list-style: none;
    margin-top: 2rem;
}

.story-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--black);
}

.story-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============================================
    GALLERY SECTION
    ============================================ */
.gallery {
    background: white;
    padding: 4rem 5%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% / 2 - 0.75rem));
    }
}

.carousel-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.carousel-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
    CONTACT SECTION
    ============================================ */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-md);
}

/* ============================================
    FOOTER
    ============================================ */
footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
    THIRD-PARTY INTEGRATIONS
    ============================================ */

/* Elfsight Widget */
.elfsight-app-9d7dcbda-3f03-434f-b8b3-63639283ad0c {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
    RESPONSIVE DESIGN
    ============================================ */

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .masonry-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
    }
    
    .tour-card {
        min-height: auto;
    }
    
    .tour-card:nth-child(1),
    .tour-card:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .tour-card:nth-child(2),
    .tour-card:nth-child(3),
    .tour-card:nth-child(4),
    .tour-card:nth-child(5) {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* Tablet (769px - 1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    
    .tour-card {
        min-height: 400px;
    }
}

/* Tablet & Mobile (max-width: 968px) */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--black);
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .menu-toggle {
        display: block;
    }

    .story-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .pricing-featured {
        transform: scale(1);
        border-left: none;
        border-right: none;
        border-top: 3px solid var(--primary-color);
        border-bottom: 3px solid var(--primary-color);
    }

    .pricing-card {
        border-right: none;
        border-bottom: 1px solid var(--white);
    }

    .pricing-card:last-child {
        border-bottom: none;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: var(--font-size-lg);
    }

    .section-header h2,
    .section-title {
        font-size: var(--font-size-3xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    section {
        padding: 3rem 5%;
    }

    .carousel-item {
        width: 280px;
        height: 210px;
    }
}