/* website_php/assets/css/style.css */

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

:root {
    --primary: #ea580c;
    --primary-dark: #c2410c;
    --primary-light: #fdba74;
    --gold: #fbbf24;
    --bg: #09090f;
    --surface: #13131f;
    --surface-light: #1e1e2d;
    --border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-blur: blur(8px);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(9, 9, 15, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur); /* Safari support */
    border-bottom: 1px solid var(--border);
    transform: translateZ(0);
    will-change: backdrop-filter;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    padding: 12px 0;
    background: rgba(9, 9, 15, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text);
    text-decoration: none;
}

.logo h1 span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    min-width: 180px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    transform: translateZ(0);
    will-change: filter;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

/* Grid & Cards */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: var(--surface-light);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

/* Interactive Mala Jaap Module Preview */
.jaap-module {
    background: var(--surface);
    padding: 80px 0;
    border-radius: 40px;
    margin: 60px 0;
    border: 1px solid var(--border);
}

.mala-beads {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.bead {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #78350f, #451a03);
    border-radius: 50%;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.2), 0 5px 15px rgba(0,0,0,0.5);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
}
