@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Sarabun:wght@300;400;600;700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky navbar */
}

:root {
    --primary-orange: #f97316;
    --primary-blue: #0ea5e9;
    --primary-hover: #ea580c;
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --glass-border: rgba(226, 232, 240, 0.8);
}

.text-primary-orange {
    color: var(--primary-orange);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.bg-primary-orange {
    background-color: var(--primary-orange);
}

.thick-stroke-white {
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        -3px 0 0 #fff,
        3px 0 0 #fff,
        0 -3px 0 #fff,
        0 3px 0 #fff;
}

.hero-premium {
    height: 100vh;
    background-color: var(--bg-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
    z-index: 1;
}

.tracking-tight {
    letter-spacing: -2px;
}

.grayscale-filter {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale-filter:hover {
    filter: grayscale(0%);
}

.business-img-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.business-img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.business-img-container:hover img {
    transform: scale(1.1);
}

.business-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.business-img-container:hover .business-overlay {
    transform: translateY(0);
}

.shadow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-5px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Sarabun', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Custom Theme Adjustments for Bootstrap-based Header */
.navbar {
    background: #ffffff !important;
}

.logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Nav links overlap fix */
.navbar-nav .nav-link {
    color: var(--text-main);
    transition: color 0.3s ease;
    font-weight: 500;
    margin-left: 1.5rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

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

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
}

.form-control:focus {
    background-color: #ffffff !important;
    border: 1px solid var(--primary-blue) !important;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.1);
}

.bg-soft {
    background-color: var(--bg-soft);
}

#contact .bg-white {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#contact .d-flex:hover .bg-white {
    transform: scale(1.1);
    background-color: var(--bg-soft) !important;
}

/* Floating Back-to-Top Button */
#backToTop {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

#backToTop:hover {
    background-color: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
    transform: translateY(-5px) scale(1.1);
}

.transition-transform {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-hover:hover {
    transform: scale(1.05);
}

.shadow-soft {
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
}