/* public/css/home.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #0f172a;       /* Midnight Navy */
    --secondary: #1e293b;     /* Slate Navy */
    --accent: #c5a059;        /* Muted Luxury Gold */
    --bg-light: #f8fafc;      /* Soft Slate White */
    --text-main: #334155;     /* Dark Slate Gray */
    --text-muted: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 750px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    animation: fadeInUp 1.2s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 20px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.badge-stok {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 15px 0;
}

/* Buttons */
.btn-main {
    background: var(--primary);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Ulasan Section */
.ulasan-section {
    background: #f1f5f9;
    padding: 100px 0;
    border-radius: 50px 50px 0 0;
}

.ulasan-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.rating { color: #f59e0b; margin-bottom: 15px; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .container { padding: 50px 20px; }
    .hero { height: 70vh; }
}