* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2c786c;
    --secondary: #ff9800;
    --dark: #004445;
    --light: #faf5e4;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header qismi */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Slider qismi */
.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 20%;
    height: 100%;
    position: relative;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 2;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content h1 {
    animation: fadeInUp 1s forwards 0.5s;
}

.slide.active .slide-content p {
    animation: fadeInUp 1s forwards 0.7s;
}

.slide.active .slide-content .btn {
    animation: fadeInUp 1s forwards 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(255,255,255,0.4);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

/* Xizmatlar qismi */
.services {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Yo'nalishlar qismi */
.destinations {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
}

.destination-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    max-width: 350px;
}

.destination-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
    width: 100%;
}

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
}

.destination-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

/* Taklif qismi */
.offer {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    text-align: center;
}

.offer h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.offer p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Kontakt qismi */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

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

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #aaa;
}

/* RESPONSIVE STILLAR */

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .nav-links .btn {
        margin: 20px 30px;
        width: calc(100% - 60px);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .services, .destinations, .offer, .contact {
        padding: 60px 0;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .destination-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }
    
    .destination-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .destination-img {
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slider-nav {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}

@media (max-width: 400px) {
    .slide-content h1 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .offer h2 {
        font-size: 28px;
    }
    
    .offer p {
        font-size: 16px;
    }
    
    .service-content, .destination-overlay {
        padding: 15px;
    }
    
    .service-content h3, .destination-overlay h3 {
        font-size: 20px;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .destination-img {
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .slide-content h1 {
        font-size: 56px;
    }
    
    .slide-content p {
        font-size: 22px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .slider {
        height: 100vh;
        min-height: 400px;
    }
    
    .slide-content {
        top: 45%;
    }
    
    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .slider-nav {
        bottom: 15px;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) and (min-width: 577px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
