/* =========================================
   USER CUSTOMIZATION SECTION
   ========================================= */
:root {
    /* Main Theme Color - Deep Red */
    --primary-color: #640D0B;
    
    /* Secondary & Accent Colors */
    --secondary-color: #F9F3F1; /* Very Light Pink/Beige - Backgrounds */
    --accent-color: #CFA937;    /* Gold - Highlights/Buttons */
    
    --text-color: #333333;
    --text-light: #666666;
    --light-text: #ffffff;
    --border-color: #e0e0e0;

    /* Fonts */
    --font-heading: 'Sukhumvit Set', sans-serif;
    --font-body: 'Sukhumvit Set', sans-serif;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --header-height: 90px;
    --section-padding: 100px 0;
    --border-radius: 12px;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: var(--section-padding);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.btn-primary:hover {
    background-color: #b38f26;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(207, 169, 55, 0.3);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
#main-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px; /* Adjusted for better proportion */
    width: auto;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

#navbar ul {
    display: flex;
    align-items: center;
}

#navbar ul li {
    margin-left: 35px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

/* Active State for Nav Links */
.nav-link.active,
.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(100, 13, 11, 0.95) 0%, rgba(40, 5, 4, 0.9) 100%), url('../asset/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 80px;
    z-index: 1; /* Ensure content is above background */
}

.hero-text {
    color: #fff;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text h2 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 90%;
}

.hero-text cite {
    display: block;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-style: normal;
    font-weight: 600;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 5px solid rgba(255,255,255,0.1);
}

.hero-image .hero-cta {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    min-width: 250px;
    text-align: center;
}

/* =========================================
   SECTIONS GENERAL
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.bg-dark {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.bg-dark h2 {
    color: var(--light-text);
}

.white-line {
    background-color: var(--light-text);
}

.text-white {
    color: var(--light-text);
}

/* =========================================
   ABOUT US
   ========================================= */
.content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.image-wrapper {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-wrapper img {
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card ul {
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #666;
}

.service-card ul li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    top: 3px;
}

.service-cta {
    width: 100%;
    margin-top: auto;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.service-cta:hover {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: none;
    transform: none;
}

/* =========================================
   IN THE PRESS
   ========================================= */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.press-item {
    background: #fff;
    padding: 30px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.press-item:hover {
    transform: translateX(10px);
}

.press-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.press-item p {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.press-item a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.press-item a::after {
    content: "\f178"; /* FontAwesome Arrow Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
}

.press-item a:hover::after {
    transform: translateX(5px);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
}

.testimonials-slider {
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.testimonial-card {
    position: absolute;
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(40px) scale(0.95);
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 10;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 35px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author cite {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.dot:hover {
    background-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.dot.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.3);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Map wider */
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.info-section {
    padding-left: 20px;
    border-left: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.info-section:hover {
    border-color: var(--accent-color);
}

.info-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section p {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 450px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 30px 0;
    border-top: 5px solid var(--primary-color);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        gap: 30px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        margin: 0 auto 30px;
    }

    .hero-image {
        order: -1; /* Image on top on mobile? maybe */
        /* Let's keep image bottom for now, but remove fixed width */
        flex: auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .content-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-wrapper {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }

    #navbar {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        
        /* Hidden by default with transition */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    #navbar.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    #navbar ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    #navbar ul li {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-link:hover {
        background-color: rgba(0,0,0,0.02);
    }
}
