/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #C9A961;
    --dark-gold: #a68a4f;
    --primary-green: #2d5d3e;
    --light-green: #3d7d5e;
    --phone-green: #1B5046;
    --bg-dark: #1a1a1a;
    --bg-light: #2a2a2a;
    --text-light: #f5f5f5;
    --text-gray: #cccccc;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(15, 15, 15, 0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Ensure content appears above video */
.navbar,
.hero-section,
.section,
.footer {
    position: relative;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}


/* Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-gold);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
        url('../img/Main Banner.png') center/cover;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.15), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(45, 93, 62, 0.15), transparent 60%);
    animation: auraMove 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auraMove {

    0%,
    100% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(20px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-line {
    background-color: #06C755;
    color: white;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-line:hover::before {
    width: 300px;
    height: 300px;
}

.btn-line:hover {
    background-color: #05b04d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.4);
    color: white;
}

.btn-phone {
    background-color: #1B5046;
    color: white;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-phone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-phone:hover::before {
    width: 300px;
    height: 300px;
}

.btn-phone:hover {
    background-color: #0f3d35;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(27, 80, 70, 0.4);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-gold);
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.3);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 1.5rem;
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.service-card-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Trust Section */
.trust-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(45, 93, 62, 0.4);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(45, 93, 62, 0.2);
}

.trust-icon {
    font-size: 3rem;
    color: var(--light-green);
    margin-bottom: 1rem;
}

.trust-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
}

.trust-text {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Process Steps */
.process-step {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-gold);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
}

.step-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* About Content */
.about-content {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.about-content h3 {
    color: var(--primary-gold);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    color: var(--text-gray);
    font-size: 1.05rem;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.about-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
    border-radius: 15px;
}

.cta-section h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #0f0f0f;
    padding: 40px 0 20px;
    border-top: 1px solid var(--primary-gold);
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-gold);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
}

.copyright {
    color: #808080;
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

/* Floating LINE Button */
.floating-line {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #06C755;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-line i {
    font-size: 1.8rem;
    color: white;
}

.floating-line:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-line,
    .btn-phone {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .service-card img {
        height: 200px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .footer-logo img {
        height: 50px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}