/* ===== CSS Variables ===== */
:root {
    --primary-gold: rgb(192, 172, 41);
    --white: rgb(247, 247, 247);
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 90px;
    width: auto;
    display: block;
    margin-top: 12px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 1.5px;
}

.logo-subtitle {
    font-size: 1.175rem;
    color: var(--gray);
    letter-spacing: 0.5px;
    margin-top: -3px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-gold);
    border-color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-full {
    width: 100%;
}

/* ===== Section Styles ===== */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto;
}

/* ===== About Section ===== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray);
}

.about-intro {
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), #d4af37);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(192, 172, 41, 0.3);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: white;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== Products Section ===== */
.products {
    background: linear-gradient(135deg, #f8f8f8 0%, var(--white) 100%);
}

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

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4af37 100%);
    position: relative;
    overflow: hidden;
}

.product-image.pendant {
    background: linear-gradient(135deg, #c0ac29 0%, var(--primary-gold) 100%);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    opacity: 0.3;
}

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

.product-badge {
    background: white;
    color: var(--primary-gold);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    align-items: start;
}

.contact-card:first-child {
    grid-row: 1 / 3;
    padding: 40px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), #d4af37);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(192, 172, 41, 0.3);
    margin-left: auto;
    margin-right: auto;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    color: white;
    stroke-width: 2;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-card:first-child p {
    line-height: 1.8;
}

.contact-card:first-child h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-card a {
    color: var(--primary-gold);
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    text-decoration: underline;
}

.address-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-content .company-name {
    font-size: 1rem;
    margin-bottom: 5px;
}

.address-content .address-thai,
.address-content .address-english {
    font-size: 0.9rem;
    line-height: 1.8;
}


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

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.footer-logo-image {
    height: 140px;
    width: 140px;
    margin-bottom: 10px;
    display: block;
}

.footer-logo .logo-text {
    color: var(--primary-gold);
    font-size: 1.6rem;
    font-weight: 600;
}

.footer-logo .logo-text-english {
    color: var(--primary-gold);
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 5px;
}

.footer-tagline {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}


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

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        gap: 5px;
    }

    .logo-image {
        height: 55px;
        margin-top: 9px;
    }

    .logo-text {
        font-size: 1.075rem;
    }

    .logo-subtitle {
        font-size: 0.975rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 5px 20px var(--shadow);
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .contact-card:first-child {
        grid-row: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-logo-image {
        height: 100px;
        width: 100px;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

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

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

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

    .contact-form-wrapper {
        padding: 25px;
    }
}

