/* =========================================
   LAYOUT STYLES - Mockup Design
   ========================================= */

/* Navigation - Fixed, glassy */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 40;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo::before {
    content: "●";
    font-size: 1.8rem;
    color: var(--brand-amber);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--brand-amber);
}

.nav-contact-btn {
    border: 1px solid var(--brand-dark);
    color: var(--brand-dark);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-contact-btn:hover {
    background: var(--brand-dark);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--brand-dark);
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    min-height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    width: 100%;
}

.slide-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.slide-content h1 span {
    color: var(--brand-amber);
    font-style: italic;
}

.slide-content .hero-desc strong {
    color: white;
    font-weight: 600;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--brand-amber);
    border-color: var(--brand-amber);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(100, 100, 100, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background: var(--brand-amber);
    border-color: var(--brand-amber);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(150, 150, 150, 0.8);
    border-color: white;
}

/* Hero badge and buttons (shared with slider) */
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-amber);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(194, 109, 12, 0.5);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease;
}

.hero-desc {
    color: #e5e7eb;
    font-size: 1.125rem;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 1.2s ease;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.section-header .divider {
    width: 64px;
    height: 4px;
    background: var(--brand-amber);
    margin: 0 auto;
    border-radius: 2px;
}

.section-title-left h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 400px;
}

/* About Company Section */
.about-company-section {
    background: var(--rice-white);
    padding: 80px 0;
}

.about-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-company-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-amber);
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-company-content p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-company-content p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.about-company-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-company-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-company-image:hover img {
    transform: scale(1.03);
}

/* Story Section */
.story-section {
    background: var(--bg-white);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.story-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.story-card:hover {
    background: var(--bg-gray);
}

.story-card .story-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 24px;
    border-radius: 50%;
    transition: var(--transition);
}

.story-card:hover .story-icon {
    transform: scale(1.05);
}

.story-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.story-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Products Section */
.products-section {
    background: var(--rice-white);
    border-top: 1px solid #e5e7eb;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Product Slider - Hide controls on desktop */
.product-slider-btn,
.product-slider-dots {
    display: none;
}

/* Story Slider - Hide controls on desktop */
.story-slider-btn,
.story-slider-dots {
    display: none;
}

/* Recipe Slider - Hide controls on desktop */
.recipe-slider-btn,
.recipe-slider-dots {
    display: none;
}

/* Recipe Cards Grid - Desktop */
.recipe-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Recipe Mini Card */
.recipe-mini-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

.recipe-mini-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.recipe-mini-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.recipe-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.recipe-mini-card:hover .recipe-mini-image img {
    transform: scale(1.1);
}

.recipe-time {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.recipe-mini-content {
    padding: 20px;
}

.recipe-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-amber);
    margin-bottom: 8px;
}

.recipe-mini-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.recipe-mini-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.recipe-view-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-amber);
    transition: var(--transition);
}

.recipe-view-link:hover {
    color: var(--brand-amber-dark);
}

.recipe-view-all {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--brand-amber);
    color: var(--brand-amber);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-secondary-outline:hover {
    background: var(--brand-amber);
    color: white;
}

/* Recipe Section */
.recipe-section {
    background: var(--bg-white);
}

.recipe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.recipe-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.recipe-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.recipe-images img:first-child {
    transform: translateY(32px);
}

.recipe-content .label {
    color: var(--brand-amber);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.recipe-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.recipe-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.recipe-link {
    display: inline-block;
    font-weight: 700;
    color: var(--brand-dark);
    border-bottom: 2px solid var(--brand-amber);
    padding-bottom: 4px;
    transition: var(--transition);
}

.recipe-link:hover {
    color: var(--brand-amber);
}

/* Footer */
footer {
    background: var(--brand-dark);
    color: white;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.social-link.zalo {
    color: var(--zalo-blue);
}

.social-link.facebook {
    color: var(--fb-blue);
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.zalo:hover {
    background: var(--zalo-blue);
    color: white;
}

.social-link.facebook:hover {
    background: var(--fb-blue);
    color: white;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-amber);
    margin-bottom: 16px;
}

.contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: #9ca3af;
}

.contact-item .icon {
    color: var(--brand-amber);
    font-size: 1.125rem;
}

.contact-item strong {
    color: white;
    display: block;
    margin-bottom: 2px;
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-amber);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Shipping Info Banner */
.shipping-banner {
    background: linear-gradient(135deg, var(--brand-amber) 0%, #b45309 100%);
    padding: 24px 0;
}

.shipping-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.shipping-icon {
    font-size: 2rem;
}

.shipping-text {
    display: flex;
    flex-direction: column;
}

.shipping-text strong {
    font-size: 1rem;
    font-weight: 700;
}

.shipping-text span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--rice-white);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}