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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: #2c2c2c;
    background: #f5f5f5;
    min-height: 100vh;
}

.top-header {
    background: linear-gradient(135deg, #8b0000 0%, #a52a2a 50%, #c0392b 100%);
    color: #ffffff;
    padding: 2.5rem 0;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
    border-bottom: 4px solid #6b0000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.main-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
}

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

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.9), transparent);
    padding: 3rem;
    color: #ffffff;
}

.hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 3px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Georgia', serif;
    position: relative;
}

.tab-button:hover,
.tab-button.active {
    color: #8b0000;
    border-bottom-color: #8b0000;
}

.tabs-content {
    min-height: 500px;
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: fadeInUp 0.4s ease forwards;
}

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

.panel-header {
    margin-bottom: 2rem;
}

.panel-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.panel-intro {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active {
    border-color: #8b0000;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

.accordion-header {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #8b0000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    margin: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, 
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height, opacity, padding;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    padding: 2rem;
    margin: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, 
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.accordion-image {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.accordion-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.hotel-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.08);
}

.hotel-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.25);
    border-color: #8b0000;
    border-width: 4px;
}

.hotel-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hotel-details {
    padding: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hotel-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.hotel-location {
    color: #8b0000;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hotel-details p {
    color: #555;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

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

.advantage-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #8b0000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #555;
    line-height: 1.8;
}

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

.contact-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #8b0000;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.15);
}

.contact-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.contact-note {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 1rem;
}

.main-footer {
    background: #2c2c2c;
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

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

.footer-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-item p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-item a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
    }
    
    .hotels-showcase {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hotel-card {
        flex-direction: column;
    }
    
    .hotel-image {
        width: 100%;
        height: 250px;
    }
}
