/* style.css - CSS chung cho toàn bộ website Hạ Long */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header và Navigation */
header {
    background: linear-gradient(135deg, #026b5f 0%, #0597d6 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo i {
    font-size: 2rem;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgb(10, 91, 190);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Sections */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('img/haLong.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero-food {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('img/monAn.png');
    background-size: cover;
    background-position: center;
}

.hero-culture {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('img/vanHoa.png');
    background-size: cover;
    background-position: center;
}

.hero-contact {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('img/lienHe.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-hero {
    display: inline-block;
    background-color: #3285d9b4;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #3285d9b4;
}

.btn-hero:hover {
    background-color: transparent;
    color: white;
}

/* Sections */
.section-padding {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #3ba3df;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #faaf24;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Trang chủ */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.highlight-box {
    background-color: #e9f4ff;
    border-left: 5px solid #1e5799;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.highlight-box h3 {
    color: #1e5799;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box ul {
    list-style-type: none;
}

.highlight-box li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f4b238;
    font-weight: bold;
}

.intro-image img {
    width: 100%;
    /* bo goc */
    border-radius: 20px;
    /* tạo độ bóng */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 0.9rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3rem;
    color: #1e5799;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
}

.exp-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.exp-content {
    padding: 1.5rem;
}

.exp-content h3 {
    margin-bottom: 0.8rem;
    color: #1e5799;
}

/* Trang ẩm thực */
.food-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.category-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 3rem;
    color: #f4b238;
    margin-bottom: 1.5rem;
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dish-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.dish-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish-content {
    padding: 1.5rem;
}

.dish-content h3 {
    margin-bottom: 0.8rem;
    color: #1e5799;
}

.dish-tag {
    display: inline-block;
    background-color: #e9f4ff;
    color: #1e5799;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-top: 1rem;
    font-weight: 600;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    display: flex;
    gap: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
}

.location-icon {
    font-size: 2rem;
    color: #f4b238;
    flex-shrink: 0;
}

.location-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #f0f7ff;
    color: #1e5799;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Phần hải sản tươi sống */
.seafood-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.seafood-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.seafood-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.seafood-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.seafood-content {
    padding: 1.5rem;
}

.seafood-content h3 {
    color: #1e5799;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.seafood-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.seafood-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #eaeaea;
}

.info-box {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-box:hover {
    background-color: #e9f4ff;
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2.5rem;
    color: #f4b238;
    margin-bottom: 1rem;
}

.info-box h4 {
    color: #1e5799;
    margin-bottom: 1rem;
}

.info-box p {
    color: #666;
    font-size: 0.95rem;
}

/* Địa điểm ẩm thực với ảnh */
.location-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background-color: white;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    align-items: stretch;
}

.location-image {
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-item:hover .location-image img {
    transform: scale(1.05);
}

.location-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #f59b42;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.location-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive cho location-item */
@media (max-width: 992px) {
    .location-item {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .location-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .location-image {
        height: 200px;
    }

    .location-content {
        padding: 1.5rem;
    }

    .location-icon {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Trang văn hóa */
.culture-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.culture-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.culture-content {
    padding: 2rem;
}

.culture-content h3 {
    color: #1e5799;
    margin-bottom: 1rem;
}

.culture-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.culture-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.culture-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #f4b238;
    font-size: 1.5rem;
}

.customs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.custom-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.custom-icon {
    font-size: 2rem;
    color: #1e5799;
    flex-shrink: 0;
}

.heritage-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.heritage-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.heritage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage-content {
    padding: 2rem;
}

.heritage-details {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.heritage-details i {
    margin-right: 5px;
}


/* Trang liên hệ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: #1e5799;
    flex-shrink: 0;
}

.contact-social {
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1e5799;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #f4b238;
    transform: translateY(-5px);
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e5799;
}

.btn-submit {
    background-color: #1e5799;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #f4b238;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.attraction-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.attraction-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.transport-card {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.transport-icon {
    font-size: 3rem;
    color: #1e5799;
    margin-bottom: 1.5rem;
}

.transport-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #f4b238;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #0a417f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f4b238;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #bbb;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f4b238;
}

.footer-section i {
    margin-right: 10px;
    color: #f4b238;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.9rem;
    color: #777;
}

/* Responsive */
@media (max-width: 992px) {

    .intro-content,
    .culture-card,
    .heritage-item,
    .history-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }

    .timeline-content::before {
        left: -40px !important;
    }

    .timeline-date {
        text-align: left;
        width: 100px;
        flex: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #2e79ce;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .modern-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}