/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --primary: #3e2723;
    /* Nâu cà phê đậm */
    --secondary: #d7ccc8;
    /* Nâu sữa nhạt */
    --accent: #d84315;
    /* Cam đất nổi bật */
    --bg-color: #fffbf2;
    /* Màu kem nền */
    --text-color: #4e342e;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hiệu ứng cuộn trang (Scroll Animation) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    background: rgba(255, 251, 242, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: 0.3s;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn,
.btn-signup {
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    position: relative;
}

.icon-btn:hover {
    transform: scale(1.1);
    color: var(--accent);
}

/* Cập nhật style chung cho cả 2 nút */
.btn-login,
.btn-signup {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

/* Style riêng cho nút Đăng Nhập */
.btn-login {
    background: transparent;
    color: var(--primary);
    margin-right: 5px;
}

.btn-login:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Style riêng cho nút Đăng Ký */
.btn-signup {
    background: var(--primary);
    color: white;
}

.btn-signup:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(62, 39, 35, 0.2);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

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

/* =========================================
   3. HERO SLIDER
   ========================================= */
.slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.slide-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-hero {
    padding: 12px 35px;
    background: var(--accent);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.4);
    display: inline-block;
}

.btn-hero:hover {
    background: #bf360c;
    transform: translateY(-3px);
}

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

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

.dot.active {
    background: white;
    width: 30px;
    border-radius: 10px;
}

/* =========================================
   4. SECTIONS (About, Menu, Reviews, Blog)
   ========================================= */
/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 0 var(--secondary);
    transition: 0.5s;
}

.about-img:hover img {
    transform: scale(1.02);
    box-shadow: 15px 15px 0 var(--accent);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.btn-secondary {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

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

/* Menu Section */
.menu-section {
    padding: 80px 0;
}

.menu-category {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--accent);
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

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

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    border: 1px solid #f0f0f0;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.menu-item-img {
    height: 250px;
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 20px;
}

.menu-item-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.menu-item-content p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    height: 40px;
}

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

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

.add-to-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.add-to-cart:hover {
    background: var(--accent);
    transform: scale(1.05);
}

/* Reviews Section */
.reviews-section {
    background: var(--primary);
    color: white;
    padding: 80px 0;
}

.reviews-section .section-title {
    color: white;
}

.reviews-section .section-title::after {
    background: var(--accent);
}

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

.review-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-card {
    width: 45%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.blog-content p {
    color: #666;
    margin-bottom: 10px;
}

.blog-content a {
    color: var(--accent);
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2d1e1a;
    color: #bdbdbd;
    padding-top: 60px;
    margin-top: 50px;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
}

.social-links a {
    color: white;
    margin-right: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
    background: #231714;
}

/* =========================================
   5. GENERAL MODAL STYLES
   ========================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
    background: none;
    border: none;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* =========================================
   6. SPECIFIC MODAL STYLES (Cart, Auth, Journey, Blog)
   ========================================= */

/* --- CART MODAL --- */
.cart-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    align-items: center;
}

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

.remove-btn {
    color: red;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 10px;
    transition: 0.3s;
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-total-section {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 15px 0;
    padding-top: 15px;
    border-top: 2px solid var(--primary);
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-checkout:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* --- AUTH MODAL (Form Đăng Ký - Đã Cập Nhật) --- */
.auth-modal {
    max-width: 450px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(62, 39, 35, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 67, 21, 0.3);
}

.form-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.form-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.form-links a:hover {
    color: #bf360c;
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-group label a {
    color: var(--accent);
    font-weight: 500;
}

.password-requirements {
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

/* --- JOURNEY MODAL (Timeline) --- */
#journeyModal .modal-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
}

.journey-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d7ccc8;
}

.journey-header h2 {
    font-size: 2.5rem;
    color: #3e2723;
    margin-bottom: 10px;
}

.journey-header p {
    color: #666;
    font-style: italic;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #d84315, #3e2723);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

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

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

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 45%;
    text-align: right;
    padding-right: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: #d84315;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-dot {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: #d84315;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #d7ccc8;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 0 0 45%;
    padding-left: 40px;
    background: #fffbf2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 20px;
    padding-right: 20px;
}

.timeline-content h3 {
    color: #3e2723;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.journey-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.journey-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.journey-gallery img:hover {
    transform: scale(1.05);
}

.journey-quote {
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    position: relative;
}

.journey-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

/* --- BLOG MODAL STYLES --- */
.blog-modal .modal-content {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
}

.blog-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #d84315;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: #3e2723;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-content-section {
    margin-bottom: 30px;
}

.blog-content-section h3 {
    color: #d84315;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-content-section p {
    color: #4e342e;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1.05rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:hover {
    background: #fffbf2;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #d84315;
    width: 30%;
}

.blog-highlight {
    background: linear-gradient(135deg, #fffbf2 0%, #fff8e1 100%);
    border-left: 5px solid #d84315;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
}

.blog-highlight strong {
    color: #d84315;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d84315 0%, #bf360c 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(216, 67, 21, 0.3);
}

.step-list li strong {
    display: block;
    color: #3e2723;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step-list li p {
    margin: 0;
    color: #666;
}

.tips-box {
    background: #fff3e0;
    border: 2px dashed #d84315;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.tips-box h4 {
    color: #d84315;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-box ul {
    list-style: none;
    padding: 0;
}

.tips-box li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #4e342e;
}

.tips-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d84315;
    font-weight: bold;
    font-size: 1.2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #d7ccc8;
}

.blog-footer p {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.share-btn {
    padding: 10px 20px;
    border: 2px solid #3e2723;
    background: white;
    color: #3e2723;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.share-btn:hover {
    background: #3e2723;
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   7. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {

    .about-grid,
    .blog-card,
    .menu-grid,
    .footer-content,
    .journey-gallery,
    .image-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 25px 20px;
    }

    /* Mobile Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-year {
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .timeline-dot {
        position: absolute;
        left: 11px;
    }

    .timeline-content {
        padding: 15px !important;
        width: 100%;
    }

    /* Mobile Blog */
    .blog-header h2 {
        font-size: 1.8rem;
    }

    .blog-featured-img {
        height: 250px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }

    .step-list li {
        padding-left: 55px;
    }

    .step-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   7. PROFILE & ADMIN STYLES
   ========================================= */
.profile-container {
    padding: 120px 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
}

.user-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    /* Center the card horizontally */
    text-align: center;
    /* Center the text inside */
}

.admin-panel {
    display: none;
    /* Mặc định ẩn, hiện nếu là admin */
    margin-top: 50px;
}

.admin-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-table th,
.course-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.course-table th {
    background-color: var(--primary);
    color: #fff;
}

.btn-action {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 5px;
}

.btn-edit {
    background: #ffc107;
    color: #000;
}

.btn-delete {
    background: #f44336;
    color: #fff;
}

/* Modal Add/Edit Course */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.admin-modal.active {
    display: flex;
}