/*
╔═══════════════════════════════════════════════════════════════╗
║  © 2024-2025 Riski (rclayskuy10)                             ║
║  Landing Page Café BangKi - CSS Stylesheet                   ║
║  ─────────────────────────────────────────────────────────── ║
║  ⚠️  PROTECTED BY COPYRIGHT - ALL RIGHTS RESERVED           ║
║                                                               ║
║  PERINGATAN:                                                 ║
║  File ini adalah bagian dari template berbayar yang         ║
║  dilindungi hak cipta. Penggunaan, modifikasi, atau         ║
║  distribusi tanpa izin adalah ILEGAL.                       ║
║                                                               ║
║  Watermark CSS di bawah WAJIB dipertahankan.                ║
║                                                               ║
║  Lisensi: https://saweria.co/riski2000                       ║
║  Template ID: CAFE-BANGKI-2025-RCL                          ║
╚═══════════════════════════════════════════════════════════════╝
*/

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

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #DAA520;
    --dark-color: #2C1810;
    --light-color: #F5E6D3;
    --cream-color: #FFF8DC;
    --white: #FFFFFF;
    --text-color: #333333;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--sans-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(44, 24, 16, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.logo i {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://images.pexels.com/photos/2253643/pexels-photo-2253643.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(44, 24, 16, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-title {
    font-family: var(--serif-font);
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--cream-color);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--serif-font);
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background: var(--white);
}

.menu .section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.menu-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.menu-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.1);
}

.menu-info {
    padding: 25px;
}

.menu-info h3 {
    font-family: var(--serif-font);
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.menu-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.menu-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-color);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--light-color);
}

.gallery .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Location Section */
.location {
    padding: 100px 0;
    background: var(--white);
}

.location .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--cream-color);
    border-radius: 10px;
}

.info-item i {
    font-size: 32px;
    color: var(--primary-color);
    min-width: 40px;
}

.info-item h3 {
    font-family: var(--serif-font);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-item p {
    color: var(--text-color);
    line-height: 1.6;
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    border-radius: 15px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--white);
}

.contact-btn i {
    font-size: 24px;
}

.whatsapp {
    background: #25D366;
}

.whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.phone {
    background: var(--accent-color);
    color: var(--dark-color);
}

.phone:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif-font);
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    font-size: 14px;
    color: #999;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    background: var(--white);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 82px;
    }

    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 64px;
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 30px;
    }

    .nav-menu {
        gap: 20px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .section-title {
        font-size: 42px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content {
        gap: 30px;
    }

    .about {
        padding: 80px 0;
    }

    .menu, .gallery, .location, .contact {
        padding: 80px 0;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 25px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(44, 24, 16, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-tagline {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .about-text {
        font-size: 16px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-map iframe {
        height: 350px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        height: 250px;
    }

    .about, .menu, .gallery, .location, .contact {
        padding: 60px 0;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* Mobile Large */
@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 22px;
    }

    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .hero-tagline {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 15px;
        max-width: 250px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .about-icon {
        font-size: 48px;
    }

    .about-text {
        font-size: 15px;
    }

    .menu-info h3 {
        font-size: 22px;
    }

    .menu-desc {
        font-size: 13px;
    }

    .menu-price {
        font-size: 20px;
    }

    .menu-image {
        height: 220px;
    }

    .info-item {
        padding: 20px;
        gap: 15px;
    }

    .info-item i {
        font-size: 28px;
        min-width: 35px;
    }

    .info-item h3 {
        font-size: 18px;
    }

    .info-item p {
        font-size: 14px;
    }

    .location-map iframe {
        height: 300px;
    }

    .contact-btn {
        padding: 15px 30px;
        font-size: 15px;
        gap: 12px;
    }

    .contact-btn i {
        font-size: 20px;
    }

    .gallery-item {
        height: 220px;
    }

    .footer-logo {
        font-size: 22px;
    }

    .footer-social a {
        font-size: 22px;
    }

    .about, .menu, .gallery, .location, .contact {
        padding: 50px 0;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 22px;
    }

    .hero {
        height: 65vh;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-tagline {
        font-size: 14px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
        max-width: 220px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .menu-grid {
        gap: 15px;
    }

    .menu-image {
        height: 200px;
    }

    .menu-info {
        padding: 20px;
    }

    .menu-info h3 {
        font-size: 20px;
    }

    .menu-desc {
        font-size: 12px;
    }

    .menu-price {
        font-size: 18px;
    }

    .info-item {
        padding: 15px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }

    .info-item i {
        font-size: 32px;
        margin: 0 auto;
    }

    .info-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .info-item p {
        font-size: 13px;
    }

    .location-map iframe {
        height: 250px;
    }

    .contact-btn {
        padding: 12px 25px;
        font-size: 14px;
        gap: 10px;
        max-width: 300px;
    }

    .contact-btn i {
        font-size: 18px;
    }

    .gallery-item {
        height: 200px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer-logo {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .footer-social {
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-social a {
        font-size: 20px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }

    .about, .menu, .gallery, .location, .contact {
        padding: 40px 0;
    }
}

/* Mobile Extra Small */
@media (max-width: 360px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 13px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .menu-info h3 {
        font-size: 18px;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-tagline {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }
}