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

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #6b6b6b;
    --accent-color: #d4a574;
    --bg-light: #fafafa;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e5e5e5;
}

body {
    font-family: 'Noto Sans Thai', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 15px;
}

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

.btn-primary {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    padding: 18px 50px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-hero:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.hero-image {
    position: relative;
}

.product-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.product-showcase img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Featured Section */
.featured {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.featured-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 20px;
    border-radius: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.section-title-center {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 80px;
    color: var(--text-dark);
    text-align: center;
}

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

.featured-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.featured-details h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 500;
}

.featured-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.featured-benefits {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.benefit-item {
    padding: 10px 20px;
    background-color: var(--white);
    border-radius: 25px;
    font-size: 14px;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.featured-price {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-unit {
    font-size: 16px;
    color: var(--text-light);
}

.btn-large {
    padding: 18px 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Thai', sans-serif;
}

.btn-large:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Products Section */
.products {
    padding: 120px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3/4;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-overlay {
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Noto Sans Thai', sans-serif;
    transition: all 0.3s ease;
}

.btn-overlay:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.product-info {
    text-align: center;
}

.product-info h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.about-content {
    text-align: center;
}

.about-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Noto Sans Thai', sans-serif;
    transition: border-color 0.3s ease;
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 18px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Thai', sans-serif;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

/* Responsive Design */

/* Tablet Landscape (1024px and down) */
@media (max-width: 1024px) {
    .container,
    .container-narrow {
        padding: 0 30px;
    }

    .hero .container {
        gap: 60px;
    }

    .hero-title {
        font-size: 64px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .featured-grid {
        gap: 60px;
    }
}

/* Tablet Portrait (968px and down) */
@media (max-width: 968px) {
    .container,
    .container-narrow {
        padding: 0 25px;
    }

    .navbar {
        padding: 18px 0;
    }

    .nav-brand {
        font-size: 22px;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .btn-primary {
        padding: 9px 22px;
        font-size: 14px;
    }

    .hero {
        margin-top: 70px;
        padding: 80px 0 60px;
    }

    .hero .container,
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .section-title,
    .section-title-center {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .featured {
        padding: 100px 0;
    }

    .featured-details h3 {
        font-size: 28px;
    }

    .price {
        font-size: 36px;
    }

    .products,
    .about,
    .contact {
        padding: 100px 0;
    }

    .about-stats {
        gap: 50px;
    }

    .stat-number {
        font-size: 42px;
    }
}

/* Mobile Landscape (768px and down) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .btn-hero,
    .btn-large {
        padding: 16px 45px;
        font-size: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .product-info h4 {
        font-size: 16px;
    }

    .product-price {
        font-size: 18px;
    }

    .about-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 38px;
    }
}

/* Mobile Portrait (640px and down) */
@media (max-width: 640px) {
    .container,
    .container-narrow {
        padding: 0 20px;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-brand {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .btn-primary {
        padding: 8px 18px;
        font-size: 13px;
    }

    .hero {
        margin-top: 65px;
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn-hero {
        padding: 15px 40px;
        font-size: 15px;
    }

    .featured {
        padding: 80px 0;
    }

    .featured-badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .section-title,
    .section-title-center {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .featured-details h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .featured-desc {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .benefit-item {
        padding: 8px 16px;
        font-size: 13px;
    }

    .price {
        font-size: 32px;
    }

    .price-unit {
        font-size: 14px;
    }

    .btn-large {
        padding: 16px 50px;
        font-size: 15px;
    }

    .products,
    .about,
    .contact {
        padding: 70px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-image {
        margin-bottom: 15px;
    }

    .product-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }

    .btn-overlay {
        padding: 11px 25px;
        font-size: 14px;
    }

    .about-text {
        font-size: 16px;
        margin-bottom: 50px;
    }

    .about-stats {
        flex-direction: column;
        gap: 35px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 15px;
    }

    .contact-form {
        padding: 0;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 15px 20px;
        font-size: 15px;
    }

    .btn-submit {
        padding: 16px 35px;
        font-size: 15px;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .footer-brand {
        font-size: 22px;
    }
    
    .footer-brand h3 {
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-content > div:last-child {
        text-align: center;
    }
    
    .footer-content > div:last-child p {
        font-size: 13px !important;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

/* Contact Info Cards Responsive */
@media (max-width: 768px) {
    #contact > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    #contact > div > div > div {
        padding: 15px !important;
    }
    
    #contact > div > div > div h4 {
        font-size: 16px !important;
    }
    
    #contact > div > div > div p {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    #contact > div > div > div {
        padding: 12px !important;
    }
    
    #contact > div > div > div > div[style*="font-size: 32px"] {
        font-size: 24px !important;
    }
    
    #contact > div > div > div h4 {
        font-size: 15px !important;
    }
    
    #contact > div > div > div p {
        font-size: 12px !important;
    }
}

/* Mobile Small (480px and down) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title,
    .section-title-center {
        font-size: 28px;
    }

    .featured-details h3 {
        font-size: 22px;
    }

    .price {
        font-size: 28px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-links {
        gap: 10px;
    }
}

/* Mobile Extra Small (375px and down) */
@media (max-width: 375px) {
    .container,
    .container-narrow {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title,
    .section-title-center {
        font-size: 26px;
    }
    
    .nav-brand {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .nav-links a {
        font-size: 11px;
    }
    
    .btn-primary {
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 480px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-brand {
        font-size: 18px;
    }
    
    .nav-links {
        gap: 12px;
        font-size: 12px;
    }
    
    .nav-links a {
        padding: 5px 0;
    }
}

/* Product Info Responsive */
@media (max-width: 640px) {
    .product-info h4 {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .product-info span {
        font-size: 11px !important;
    }
    
    .product-info p {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .product-card {
        padding: 15px;
    }
    
    .product-info h4 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .product-info span {
        font-size: 10px !important;
        line-height: 1.3;
    }
    
    .product-info p[style*="font-size: 0.85em"] {
        font-size: 11px !important;
        line-height: 1.5;
    }
}

/* Hero Image Responsive */
@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
}

/* Featured Grid Responsive */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .featured-details {
        text-align: center;
    }
    
    .featured-benefits {
        justify-content: center;
    }
    
    /* Footer responsive for contact info */
    .footer-content > div:last-child {
        margin-top: 15px;
    }
    
    .footer-content > div:last-child p {
        margin-bottom: 8px !important;
        line-height: 1.6;
    }
}

/* Extra mobile styles for footer */
@media (max-width: 480px) {
    .footer-brand h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .footer-brand p {
        font-size: 12px !important;
    }
    
    .footer-content > div:last-child p {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .footer-links {
        gap: 10px !important;
    }
    
    .footer-links a {
        font-size: 13px !important;
    }
}

