/* 
  Catering Marnala Marpaung - Clean Premium Layout
  Theme: Off-White Pattern, Dark Red, Black
*/

:root {
    --primary-color: #8B0000; /* Dark Red / Maroon */
    --primary-hover: #600000;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    
    /* Pixel Perfect Theme Colors */
    --bg-cream-main: #FDF9F1;
    --bg-cream-card: #FAF6ED;
    --text-dark-brown: #3E2C20;
    --text-grey: #666666;
    --theme-red: #7C1D1D;
    --theme-gold: #B68A36;
    --theme-green: #4A5D23;
    --divider-color: #D6C4A6;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(139,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    
    /* Background Pattern setup */
    background-color: #e8e4db; /* Warna krem agak gelap agar motif lebih menonjol */
    background-image: url('../img/bg.png');
    background-size: 250px;
    background-attachment: fixed;
    background-blend-mode: multiply; /* Membuat pola menyatu dengan warna krem dan jauh lebih jelas */
}

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

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark-brown);
}

.section-title span {
    color: var(--primary-color);
    font-style: italic;
}

.section-header {
    margin-bottom: 4rem;
}
.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Decorative Divider */
.divider-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1rem;
}
.divider-custom::before,
.divider-custom::after {
    content: '';
    width: 60px;
    height: 1px;
    background-color: var(--divider-color);
}
.divider-custom .diamond {
    width: 6px;
    height: 6px;
    background-color: var(--divider-color);
    transform: rotate(45deg);
    margin: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: #25D366;
    color: white;
}

.btn-secondary:hover {
    background-color: #1ebe5d;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--text-dark-brown);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar.hidden {
    transform: translateY(-100%);
}

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

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.2rem;
    color: white;
    transition: color 0.3s ease;
}

.brand-text span {
    color: var(--theme-gold);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--theme-gold);
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Scrolled Navbar Adjustments */
.navbar.scrolled .brand-text {
    color: var(--text-dark-brown);
}

.navbar.scrolled .brand-text span {
    color: var(--theme-red);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark-brown);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--theme-red);
}

.navbar.scrolled .nav-links a::after {
    background: var(--theme-red);
}

.navbar.scrolled .btn-outline {
    border-color: var(--theme-red);
    color: var(--theme-red);
}

.navbar.scrolled .btn-outline:hover {
    background: var(--theme-red);
    color: white;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    background-image: url('../img/hero-batak.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dark majestic overlay */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(62, 44, 32, 0.9) 100%);
    z-index: 1;
}

.hero-container {
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-title span {
    color: var(--theme-gold);
    font-style: italic;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-image {
    display: none; /* Hide the side image, use full background */
}

/* About */
.about-section {
    padding: 8rem 0;
    background-color: #2A1A12; /* Deep dark brown */
    background-image: url('../img/ulos-pattern.png');
    background-size: 400px;
    background-blend-mode: overlay; /* Blend ulos texture */
    color: white;
    border: none;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 10px;
    background: linear-gradient(to right, var(--theme-red), var(--theme-gold), var(--theme-green));
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-section .section-title {
    color: white;
}

.about-section .section-title span {
    color: var(--theme-gold);
}

.about-text p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--theme-gold);
    margin-top: 5px;
}

.feature-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
    font-size: 1.05rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.6);
}

.about-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--theme-gold);
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f0f0, #ffffff);
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Packages */
.packages-section {
    padding: 5rem 0 3rem;
    background-color: var(--bg-cream-main);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.package-card {
    background: var(--bg-cream-card);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-image {
    width: 100%;
    height: 190px;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Circular Icon Overlay */
.icon-overlay {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-cream-card);
    color: white;
    font-size: 1rem;
    z-index: 10;
}

.card-content {
    padding: 2.5rem 1.5rem 1.5rem;
    flex-grow: 1;
    text-align: center;
}

.package-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--theme-color);
    margin-bottom: 0.5rem;
}

.package-card .desc {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.package-card ul {
    text-align: left;
    margin-bottom: 1rem;
}

.package-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: #444;
}

.package-card ul li i {
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: var(--theme-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    margin-top: 2px;
}

/* Price Bar */
.price-bar {
    background: var(--theme-color);
    color: white;
    padding: 1.2rem;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.price-bar .mulai {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2px;
}

.price-bar .amount-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-bar .amount {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.price-bar .unit {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Themes */
.package-wedding { --theme-color: var(--theme-red); }
.package-condolence { --theme-color: var(--theme-gold); }
.package-celebration { --theme-color: var(--theme-green); }

/* Additional Menu Section */
.additional-menu-section {
    padding: 2rem 0 4rem;
    background-color: var(--bg-cream-main);
}

.menu-wrapper-box {
    background-color: #F8F5EE;
    border: 1px solid #EAE1D3;
    border-radius: 12px;
    padding: 3rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.menu-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.2s ease;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.menu-item-image {
    width: 100%;
    height: 110px;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-info {
    padding: 0.8rem;
    position: relative;
}

.menu-item-info h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark-brown);
    margin-bottom: 2px;
    line-height: 1.2;
}

.menu-item-info .unit {
    display: block;
    font-size: 0.7rem;
    color: var(--text-grey);
    margin-bottom: 8px;
}

.menu-item-info .price {
    font-size: 0.9rem;
    color: var(--theme-red);
    font-weight: 700;
}

.btn-add {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    width: 24px;
    height: 24px;
    background: var(--theme-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-add:hover {
    transform: scale(1.1);
}

/* Features Bottom */
.features-bottom {
    padding: 2rem 0 4rem;
    background: var(--bg-cream-main);
}

.features-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-bottom-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.feature-bottom-item i {
    font-size: 1.8rem;
    color: var(--text-dark-brown);
    opacity: 0.8;
}

.feature-bottom-item h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark-brown);
    margin-bottom: 2px;
    font-weight: 600;
}

.feature-bottom-item p {
    font-size: 0.8rem;
    color: var(--text-grey);
    margin: 0;
    line-height: 1.4;
}

/* Simple Footer */
.footer-simple {
    background-color: var(--text-dark-brown);
    color: rgba(255,255,255,0.8);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-simple-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-simple-content .divider-icon {
    color: var(--theme-gold);
    font-size: 1rem;
}

.footer-simple .brand-name {
    color: var(--theme-gold);
    font-weight: 600;
    margin-top: 2px;
}


/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #aaaaaa;
    max-width: 300px;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact ul li {
    margin-bottom: 1rem;
    color: #aaaaaa;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaaaaa;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    background: #111111;
    padding: 1.5rem 0;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; }
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-title { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .packages-grid { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .features-bottom-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .menu-grid { grid-template-columns: 1fr; }
}
