/* --- VARIABLES & RESET --- */
:root {
    --primary-black: #1A1A1A;
    --primary-beige: #E4E0DF;
    --primary-white: #FFFFFF;
    --accent-gold: #C49A6C;
    --text-dark: #333333;
    --text-light: #777777;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--primary-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--primary-black);
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; display: block; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.bg-beige { background-color: var(--primary-beige); }
.bg-dark { background-color: var(--primary-black); color: white; }

.sub-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
}

.btn-gold:hover {
    background-color: #b0885a;
}

.btn-outline {
    border-color: white;
    color: white;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-black);
}

.btn-outline-dark {
    border-color: var(--primary-black);
    color: var(--primary-black);
}

.btn-outline-dark:hover {
    background-color: var(--primary-black);
    color: white;
}

.w-100 { width: 100%; text-align: center; }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-black);
}

.logo span { color: var(--accent-gold); }

#nav-menu ul { display: flex; align-items: center; }
#nav-menu li { margin-left: 30px; }
#nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
#nav-menu a:hover { color: var(--accent-gold); }

.btn-nav {
    background-color: var(--primary-black);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}
.btn-nav:hover { background-color: var(--accent-gold) !important; }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SLIDER --- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out; /* 0.5 saat transition */
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay gelap */
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 600px;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--accent-gold);
}

.stat-box p { font-size: 0.85rem; color: var(--text-light); }

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay h4 { color: var(--accent-gold); transform: translateY(20px); transition: 0.3s; }

.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .overlay { opacity: 1; }
.portfolio-item:hover .overlay h4 { transform: translateY(0); }

/* --- WHY CHOOSE US --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-choose-section h2 {
    color: #ffffff !important;
    margin-bottom: 20px;
}

/* --- TAMBAH BAHAGIAN INI UNTUK GAMBAR CURVE --- */
.why-image img {
    border-radius: 20px; /* Ubah nombor ini (cth: 30px) jika nak lagi curve */
    width: 100%;         /* Pastikan gambar tidak lari saiz */
    height: auto;
    object-fit: cover;   /* Pastikan gambar tidak gepeng */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Tambah bayang supaya gambar timbul */
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #ffffff;
}

/* --- PRICING --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.price-card {
    border: 1px solid #eee;
    padding: 40px;
    text-align: center;
    position: relative;
    background: white;
}

.price-card.highlight {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 20px 0;
}

.price-card ul { margin-bottom: 30px; text-align: left; }
.price-card li { margin-bottom: 10px; color: var(--text-light); }
.price-card li i { margin-right: 10px; color: var(--accent-gold); }

/* --- TESTIMONIALS --- */
.testimonial-slider-wrapper {
    overflow: hidden;
    max-width: 800px;
    margin: 40px auto 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    text-align: center;
    padding: 20px;
}

.review {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.client-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.client-info h5 { margin-bottom: 0; font-size: 1rem; }
.client-info span { font-size: 0.8rem; color: var(--text-light); }

/* --- CONTACT FORM --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 50px;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.error-msg { color: red; font-size: 0.8rem; display: none; margin-top: 5px; }

/* --- FOOTER --- */
footer {
    background-color: var(--primary-black);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { color: white; margin-bottom: 15px; }
.footer-col h4 { color: var(--accent-gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-gold); }

.social-icons a { margin-right: 15px; font-size: 1.2rem; transition: 0.3s; }
.social-icons a:hover { color: var(--accent-gold); }

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* --- ANIMATION CLASS --- */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .about-grid, .why-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .price-card.highlight { transform: scale(1); }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    #nav-menu.active { display: block; }
    #nav-menu ul { flex-direction: column; padding: 20px 0; }
    #nav-menu li { margin: 15px 0; }
    
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { display: flex; flex-direction: column; gap: 10px; }
    .btn-outline { margin-left: 0; }
}