/* Base styles */
:root {
    --primary: #4E60FF;
    --primary-light: #F3F4FF;
    --secondary: #FD6D22;
    --dark: #2B2B43;
    --gray: #83859C;
    --gray-light: #EDEEF2;
    --white: #FFFFFF;
    --error: #FF5C60;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: #3a4bdf;
    transform: translateY(-2px);
}

.btn--secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn--secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn--app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: var(--white);
    padding: 12px 20px;
}

.btn--app:hover {
    background: #1a1a2b;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828') no-repeat center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Cities section */
.cities {
    padding: 5rem 0;
    background: var(--white);
}

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

.city-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.city-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.city-card__content {
    padding: 1.5rem;
}

.city-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.city-card__desc {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Features section */
.features {
    padding: 5rem 0;
    background: var(--primary-light);
}

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

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature__desc {
    color: var(--gray);
}

/* Reviews section */
.reviews {
    padding: 5rem 0;
    background: var(--white);
}

.reviews__slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.review {
    min-width: 300px;
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    scroll-snap-align: start;
    text-align: center;
}

.review__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary);
}

.review__text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.review__author {
    font-weight: 500;
    color: var(--primary);
}

/* CTA section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(78, 96, 255, 0.9), rgba(78, 96, 255, 0.9)), url('https://images.unsplash.com/photo-1506929562872-bb421503ef21') no-repeat center/cover;
    color: var(--white);
    text-align: center;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__desc {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 0;
}

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

.footer__col {
    margin-bottom: 1.5rem;
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer__text {
    margin: 1rem 0;
    opacity: 0.8;
}

.footer__list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.subscribe {
    display: flex;
    margin-bottom: 1.5rem;
}

.subscribe input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-family: inherit;
}

.subscribe button {
    border-radius: 0 8px 8px 0;
    padding: 0 20px;
}

.social {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social__link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero__title {
        font-size: 3rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .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);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn--app {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 0.5rem;
    }
}