@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Playfair+Display:wght@700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    color: #2d2d2d;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Vintage Pattern Background */
.pattern-bg {
    background: linear-gradient(135deg, #fef9f3 0%, #fdf6ec 100%);
    position: relative;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(217, 83, 30, 0.02) 35px, rgba(217, 83, 30, 0.02) 70px);
    pointer-events: none;
}

/* Header */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #d9531e;
}

header .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 90px;
    width: auto;
    max-width: 100%;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #d9531e;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d9531e;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav .btn.small {
    background: #d9531e;
    padding: 10px 20px;
    color: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(217, 83, 30, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

nav .btn.small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 83, 30, 0.4);
}

nav .btn.small::after {
    display: none;
}

/* Hero - UPDATED WITH MORE VISIBLE BACKGROUND */
.hero {
    background: linear-gradient(135deg, rgba(217, 83, 30, 0.65), rgba(232, 167, 53, 0.55)), 
                url('https://movetocambodia.com/wp-content/uploads/phnompenh-tuktuk-remorque.jpg') center/cover no-repeat;
    min-height: 550px;
    position: relative;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.03) 2px,
        rgba(255,255,255,0.03) 4px
    );
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
    animation: fadeInUp 1s ease;
}

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

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    font-weight: 400;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #d9531e;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    margin: 0 10px 10px 0;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.btn.ghost {
    background: transparent;
    border: 3px solid white;
    color: white;
}

.btn.ghost:hover {
    background: white;
    color: #d9531e;
}

.btn.big {
    padding: 18px 45px;
    font-size: 20px;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.stats-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #e8a735;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
    position: relative;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 20px;
    font-size: 42px;
    color: #2d2d2d;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d9531e, #e8a735);
    border-radius: 2px;
}

.section p.subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.three-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #d9531e;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(217, 83, 30, 0.03), rgba(232, 167, 53, 0.03));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #d9531e;
    position: relative;
}

.card-number {
    font-size: 60px;
    font-weight: 800;
    color: rgba(217, 83, 30, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Playfair Display', serif;
}

/* Why Section */
.why-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0;
}

.why-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.why-section h2 {
    color: white;
}

.why-section h2::after {
    background: linear-gradient(90deg, #e8a735, #d9531e);
}

.two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.two-grid ul {
    list-style: none;
}

.two-grid li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    font-size: 18px;
}

.two-grid li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e8a735;
    font-weight: bold;
    font-size: 24px;
}

.two-grid img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Pricing */
.pricing-table {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.pricing-table th {
    background: linear-gradient(135deg, #d9531e, #e8a735);
    color: white;
    padding: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:nth-child(even) {
    background: #fef9f3;
}

.pricing-table strong {
    color: #d9531e;
    font-size: 18px;
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(135deg, #fef9f3 0%, #fdf6ec 100%);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #e8a735;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: rgba(217, 83, 30, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #d9531e;
}

.testimonial-role {
    font-size: 14px;
    color: #666;
}

/* Case Study */
.case-study {
    background: white;
    padding: 80px 0;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.case-content h3 {
    color: #d9531e;
    font-size: 32px;
    margin-bottom: 15px;
}

.case-metric {
    background: linear-gradient(135deg, #fef9f3, #fdf6ec);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #e8a735;
}

.case-metric strong {
    font-size: 28px;
    color: #d9531e;
    display: block;
}

.case-image {
    background: #ddd;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: #666;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.mockup {
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    height: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: #666;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.mockup:hover {
    transform: scale(1.05);
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #d9531e 0%, #e8a735 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255,255,255,0.05) 50px,
        rgba(255,255,255,0.05) 100px
    );
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.cta h2::after {
    display: none;
}

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta .contact-info {
    margin-top: 20px;
    font-size: 18px;
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #d9531e;
}

.faq-item strong {
    color: #d9531e;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #1a1a1a;
    color: white;
}

footer small {
    opacity: 0.7;
    display: block;
    margin-top: 15px;
}

footer small a {
    color: #e8a735;
    text-decoration: none;
}

/* Hamburger menu icon */
.hamburger {
    display: none;
    flex-direction: column;
    width: 32px;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    height: 4px;
    width: 100%;
    background: #d9531e;
    border-radius: 3px;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .two-grid, .case-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .logo img {
        height: 80px;
    }
    
    /* Mobile menu behavior */
    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        background: white;
        padding: 25px 30px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        border-left: 4px solid #d9531e;
        display: flex;
        flex-direction: column;
        gap: 18px;
        transition: 0.35s;
    }

    body.nav-open nav {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    nav a {
        margin: 0 !important;
        font-size: 18px;
    }

    nav .btn.small {
        text-align: center;
        margin-top: 10px;
    }
}

/* Animate hamburger to X when active */
body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}