/* KRUA THAI - OPTIMIZED STYLESHEET 
    Architecture: Variables > Reset > Components > Media Queries
*/

/* --- 1. VARIABLES --- */
:root {
    --thai-green: #2d8a44;
    --thai-orange: #ff5733;
    --dark-bg: rgba(0, 0, 0, 0.7);
    --black: #000000;
    --dark-grey: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.4s ease;
}

/* --- 2. RESET & GLOBAL STYLES --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    overflow-x: hidden; 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.section-title { font-size: 2rem; margin-bottom: 20px; text-transform: uppercase; text-align: center; }
.section-title.white { border-bottom: 2px solid var(--white); display: inline-block; padding-bottom: 10px; }

/* --- 3. HEADER & NAVIGATION --- */
header { position: fixed; width: 100%; top: 0; z-index: 1000; transition: var(--transition); }
.top-header { background: rgba(0,0,0,0.4); color: var(--white); padding: 8px 0; font-size: 13px; }
.navbar { padding: 20px 0; transition: var(--transition); }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links a { color: var(--white); text-decoration: none; margin-left: 25px; font-weight: bold; font-size: 14px; text-transform: uppercase; transition: color 0.3s; }

/* Header Scrolled State */
header.scrolled .top-header { margin-top: -45px; opacity: 0; pointer-events: none; display: none;}
header.scrolled .navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 12px 0; }
header.scrolled .nav-links a { color: #333; }
header.scrolled .lang-switch { border-left: 1px solid rgba(0,0,0,0.1); }
.logo img {
    height: 70px; /* Original height */
    width: auto;
    transition: height 0.4s ease; /* Smoothly shrinks logo on scroll */
    display: block;
}

header.scrolled .logo img {
    height: 45px; /* Shrunken height for sticky bar */
}
/* Language Switcher */
.lang-switch { display: flex; align-items: center; margin-left: 20px; gap: 10px; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 20px; }
.lang-link { display: flex; align-items: center; transition: transform 0.2s ease, opacity 0.2s ease; }
.lang-link img { width: 24px; height: auto; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.lang-link:hover { transform: scale(1.1); opacity: 0.8; }
.lang-link.active { border-bottom: 2px solid var(--thai-orange); padding-bottom: 2px; }

/* Navigation Buttons */
.cta a { background: var(--thai-orange); color: var(--white); padding: 8px 15px; border-radius: 4px; transition: background 0.3s; text-decoration: none; }
.cta a:hover { background: var(--thai-green); }

/* --- 4. HERO SECTION --- */
.hero { height: 100vh; background: url('images/hero-bg.png') no-repeat center center/cover; }
.hero-overlay { height: 100%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.hero-box { border-left: 1px solid var(--white); border-right: 1px solid var(--white); padding: 50px; text-align: center; color: var(--white); background: var(--dark-bg); max-width: 800px; }
.hero-box h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); letter-spacing: 3px; margin-bottom: 10px; border-bottom: 1px solid var(--white); padding-bottom: 15px; text-transform: uppercase; }
.btn-orange { background: var(--thai-orange); color: var(--white); padding: 12px 30px; text-decoration: none; display: inline-block; margin-top: 25px; font-weight: bold; border-radius: 4px; transition: var(--transition); }
.btn-orange:hover { background: var(--thai-green); transform: translateY(-2px); }
/* UPDATED HERO WITH PARALLAX */
.hero {
    height: 100vh;
    /* Ensure the path to your image is correct */
    background-image: url('images/hero-bg.png'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
    /* THE PARALLAX MAGIC */
    background-attachment: fixed; 
    
    position: relative;
    overflow: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the "magic" property for videos */
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adds a dark tint so text pops */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile Fix: Fixed backgrounds often glitch on iOS/Android */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll; /* Disables parallax on mobile for better performance */
    }
}

/* --- 5. SOBRE NÓS (Green Section) --- */
.about-section { background-color: var(--thai-green); padding: 80px 0; color: var(--white); text-align: center; }
.staff-grid { display: flex; justify-content: center; gap: 50px; margin-top: 40px; flex-wrap: wrap; }
.staff-card .img-container { width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--white); overflow: hidden; margin: 0 auto 15px; }
.staff-card img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h3 { font-size: 1.5rem; margin-top: 10px; }

/* --- 6. COMO FUNCIONA (Steps) --- */
.how-it-works { padding: 80px 0; text-align: center; background: var(--white); }
.steps-container { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 40px; }
.step { flex: 1; min-width: 280px; padding: 20px; transition: var(--transition); }
.step-icon { font-size: 50px; margin-bottom: 15px; display: block; }
.step h3 { color: var(--thai-green); margin-bottom: 10px; }

/* --- 7. SIGNATURE DISHES (Gallery) --- */
.gallery-section { padding: 80px 0; background: #f9f9f9; text-align: center; }
.image-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
.gallery-item { position: relative; overflow: hidden; height: 300px; cursor: pointer; border-radius: 4px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(45, 138, 68, 0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.overlay-text { color: var(--white); text-align: center; }
.overlay-text span { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; display: block; }

/* --- 8. ENCOMENDA JÁ (CTA) --- */
.encomenda-ja { background-color: var(--dark-grey); color: var(--white); padding: 60px 0; text-align: center; }
.encomenda-ja h2 { font-size: 1.8rem; margin-bottom: 30px; font-weight: 300; }
.btn-cta-large { background-color: var(--thai-orange); color: var(--white); padding: 20px 50px; font-size: 1.2rem; font-weight: bold; text-decoration: none; border-radius: 5px; display: inline-block; transition: transform 0.3s ease; }
.btn-cta-large:hover { transform: scale(1.05); background-color: var(--thai-green); }
.partners-logos { margin-top: 40px; }
.partner-row { display: flex; justify-content: center; gap: 30px; margin-top: 15px; opacity: 0.8; }
.partner-row img { height: 30px; filter: grayscale(100%) brightness(2); }


/* --- 9. CONTACTO & FOOTER --- */
.contact-section { background-color: var(--dark-grey); color: var(--white); padding: 80px 0; border-top: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.info-item { margin-bottom: 25px; }
.label { color: var(--thai-green); font-weight: bold; text-transform: uppercase; font-size: 12px; margin-bottom: 5px; }
.phone-link { color: var(--white); text-decoration: none; font-size: 20px; font-weight: bold; }
.map-wrapper { border: 1px solid #333; border-radius: 4px; overflow: hidden; }
.bottom-bar { background-color: var(--black); color: #888; padding: 20px 0; font-size: 12px; }
.footer-links a { color: #888; text-decoration: none; margin-left: 20px; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }

/* --- 10. UTILITIES --- */
#scrollTopBtn { position: fixed; bottom: 30px; right: 30px; background: var(--thai-orange); color: var(--white); border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: none; z-index: 1001; font-size: 20px; transition: var(--transition); }
#scrollTopBtn:hover { background: var(--thai-green); transform: translateY(-5px); }

/* --- 11. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .image-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 0; }
    .nav-links { display: none; } /* Mobile Menu Toggle logic should be added to JS */
    .lang-switch { border-left: none; padding-left: 0; margin-top: 20px; justify-content: center; }
    .hero-box { padding: 30px; margin: 0 10px; }
    .staff-grid, .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .image-wall { grid-template-columns: 1fr; }
    .flex-between { text-align: center; }
    .partner-row { gap: 15px; flex-wrap: wrap; }
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Change icon color to dark when header is scrolled (white) */
header.scrolled .mobile-menu-toggle span {
    background-color: #333;
}

/* RESPONSIVE MOBILE MENU */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }

    .nav-links {
        display: flex; /* Override previous display:none */
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0; /* Slide in */
    }

    .nav-links li { margin: 20px 0; }
    .nav-links a { color: #333 !important; font-size: 1.2rem; }

    /* X Animation when menu is open */
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -8px); }
}

/* AUTHENTIC EXPERIENCE STYLES */
.authentic-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.authentic-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.authentic-section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--thai-green);
    margin: 15px auto;
}

.main-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #666;
}

.feature-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 300px;
}

.feature-img {
    margin-bottom: 25px;
    border-bottom: 3px solid var(--thai-orange); /* The orange line from your screenshot */
}

.feature-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.feature-img video {
    width: 100%;
    height: 200px; /* Keeps the height consistent with your images */
    object-fit: cover; /* Ensures the video fills the box without stretching */
    display: block;
    border-bottom: 3px solid var(--thai-orange);
}

.feature-item h3 {
    font-size: 0.95rem;
    color: var(--thai-orange);
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: bold;
}

.feature-item p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .feature-grid { flex-direction: column; }
}


/* Silom 34 Cross-Promotion Banner */
.silom-promo-banner {
    background-color: #0d3824; /* Rich hunter green from your flyer */
    color: #fdfaf2; /* Soft warm white font background */
    padding: 60px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    border-top: 4px solid var(--thai-orange);
    border-bottom: 4px solid var(--thai-orange);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.promo-badge {
    background-color: var(--thai-orange, #ff6b00);
    color: #fff;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.promo-text-side h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.promo-main-idea {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e2f0d9;
}

.promo-highlights {
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-left: 4px solid var(--thai-orange);
    border-radius: 0 8px 8px 0;
}

.highlight-item .icon {
    font-size: 1.5rem;
}

.highlight-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.promo-locations {
    font-size: 0.9rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.promo-locations p {
    margin: 5px 0;
}

/* Visual Container Side */
.promo-visual-side {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.promo-visual-side img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.steps-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #0d3824;
    padding: 10px 18px;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid var(--thai-orange);
}

/* Responsive adjustments for mobile screens */
@media (max-width: 992px) {
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .promo-text-side h2 {
        font-size: 1.8rem;
    }
    
    .promo-visual-side {
        max-width: 500px;
        margin: 0 auto;
    }
}


/* Container Background */
.menu-info-banner {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 20px;
}

/* Two-column layout grid */
.info-banner-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.info-text-side h2 {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Flexbox Group to align Image (Left) and Paragraphs (Right) */
.badge-text-wrapper {
    display: flex;
    align-items: center; /* Vertically centers the image with the text block */
    gap: 25px; /* Spacing between the image edge and the text start */
    margin-bottom: 20px;
}

.badge-text-wrapper img {
    height: 130px; /* Adjusts your badge image height scale */
    width: auto;
    object-fit: contain;
    flex-shrink: 0; /* Prevents image from shrinking */
}

/* Container for the stacked description lines */
.badge-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Spacing between line 1 and line 2 */
}

.badge-paragraphs .sub-line-1 {
    color: #d35400; /* Muted brick/orange accent text color */
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}

.badge-paragraphs .sub-line-2 {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* Right Column: Dark Legend Box Panel */
.info-legend-side {
    background-color: #222222;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legend-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.legend-text {
    font-size: 0.95rem;
    color: #eeeeee;
    font-weight: 300;
}

/* Responsive view for tablets/mobile */
@media (max-width: 991px) {
    .info-banner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .badge-text-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .badge-text-wrapper img {
        margin: 0 auto;
    }
}
/* ==========================================================================
   MENU SECTIONS & CARDS CODE
   ========================================================================== */

/* Category Title Banner Box */
.menu-category-banner {
    background-color: #2c2c2c; /* Distinct dark grey banner title box */
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.menu-category-banner h2 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

/* Category Grid Container Section */
.menu-category-section {
    padding: 0 20px;
    margin-bottom: 50px;
}

.menu-category-section .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 grid items side-by-side on desktop views */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Product Dish Cards */
.menu-dish-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-dish-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Image Scaler Ratios wrapper */
.dish-image-wrapper {
    width: 100%;
    height: 250px; 
    overflow: hidden;
    background-color: #fcfcfc;
}

.dish-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Beautifully proportioned crop format */
}

/* Card Information Padding Stack */
.dish-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Title and Play Audio Button Side-by-Side */
.title-audio-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dish-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.dish-title span {
    color: #f15a38; /* Contrasting color for dish codes like N1, N2 */
}

/* Speaker button style overrides using a native emoji */
.audio-play-btn {
    background: #f15a38;
    border: none;
    padding: 4px 6px;
    font-size: 1rem; /* Perfectly scales the 🔊 emoji */
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.audio-play-btn:hover {
    background: #d35400;
    transform: scale(1.08);
}

.audio-play-btn:active {
    transform: scale(0.95);
}

/* Pricing Emphasis Display */
.dish-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f15a38; /* Brand signature theme orange accent */
    white-space: nowrap;
}

/* Native Chili Spice Level Row Layout */
.dish-spice-rating {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    height: 20px; /* Securely locks visual structure height layout grids */
}

/* Product Content Paragraph Description Block */
.dish-description {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Native Dietary Emoji Tag Bar Layout Alignment (🌾 🌱 🥬) */
.dish-tags {
    display: flex;
    gap: 12px;
    margin-top: auto; /* Force alignment completely flush to card floor levels */
}

.menu-emoji-tag {
    font-size: 1.3rem;
    cursor: default;
    user-select: none;
    transition: transform 0.2s ease;
}

.menu-emoji-tag:hover {
    transform: scale(1.2);
}

/* ==========================================================================
   RESPONSIVE LAYOUT OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
    .menu-category-section .menu-grid {
        grid-template-columns: 1fr; /* Switch to a 1-column layout list view on mobile devices */
        gap: 20px;
    }
    
    .dish-image-wrapper {
        height: 200px; /* Slight scaling crop adjust profile */
    }
    
    .menu-category-banner h2 {
        font-size: 1.5rem;
    }
}

/* Sub-category Heading Styling inside sections */
.menu-subcategory-title {
    max-width: 1200px;
    margin: 30px auto 20px auto;
    padding: 0 20px;
}

.menu-subcategory-title h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f15a38; /* Uses signature brand orange color */
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 8px;
    margin: 0;
}

@media (max-width: 768px) {
    /* Forces both rows to stack beautifully on top of each other on mobile layout widths */
    .staff-grid { 
        grid-template-columns: 1fr !important; 
        gap: 40px !important;
    }
}




/* --- REDES SOCIAIS (Icons Only) --- */
.social-section {
    background-color: var(--thai-green);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.social-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-section p {
    max-width: 850px;
    margin: 0 auto 30px auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2f0d9;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 0; /* Snaps the padding flush to the bottom of the section */
}

.social-icons a {
    color: var(--white);
    font-size: 1.8rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}
/* =========================================================
   MOBILE TEAM HOURGLASS (2 - 1 - 2) OVERRIDE
   ========================================================= */
@media (max-width: 768px) {

    /* 1. Smash both grids into 2-columns (overriding your inline HTML styles) */
    .team-container .staff-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-bottom: 35px !important;
    }

    /* --- KRUA THAI GRID (The top 3) --- */

    /* Slot 1: Nui stays Top Left */
    .team-container .staff-grid:first-of-type .staff-card:nth-child(1) {
        order: 1;
    }

    /* Slot 2: Sami gets pulled UP into the Top Right spot */
    .team-container .staff-grid:first-of-type .staff-card:nth-child(3) {
        order: 2;
    }

    /* Slot 3: Sea gets pushed DOWN to row 2, and stretches across both columns */
    .team-container .staff-grid:first-of-type .staff-card:nth-child(2) {
        order: 3;
        grid-column: span 2; 
    }


    /* --- SILOM 34 GRID (The bottom 2) --- */
    /* Pari and Niru naturally populate Slot 1 and Slot 2 of their own 2-column grid */


    /* --- SAFETY POLISH --- */

  /* SAFETY POLISH - Forces images to perfectly fill the circles */
    .staff-card .img-container {
        width: 135px !important;
        height: 135px !important;
        margin: 0 auto 15px auto !important;
    }

    .staff-card .img-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* This is the magic line that crops the empty gaps */
    }
}