/* 
  Variables - Semarang Metropolitan Business Theme
  Colors: Navy Blue, Charcoal, Slate Grey, Crisp White, and Royal Gold accents.
*/
:root {
    --primary: #1A365D; /* Deep Corporate Navy */
    --primary-light: #2A4365;
    --accent: #D4AF37; /* Royal Gold / Luxury Accent */
    --accent-hover: #C19B2E;
    --dark: #111827; /* Charcoal */
    --gray-dark: #374151;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--gray-light); }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-outline-light { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline-light:hover { background-color: var(--white); color: var(--primary); }
.btn-block { width: 100%; }

/* Typography Extras */
.section-subtitle { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--primary); }
.section-desc { max-width: 600px; margin: 0 auto; color: var(--gray-dark); }
.text-highlight { color: var(--accent); }

/* Top Bar */
.top-bar { background-color: var(--dark); color: #ccc; font-size: 0.8rem; padding: 0.5rem 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contacts span { margin-right: 1.5rem; }
.top-contacts i { color: var(--accent); margin-right: 5px; }
.top-links a { margin-left: 1.5rem; color: #ccc; }
.top-links a:hover { color: var(--white); }

/* Header */
header {
    position: absolute; top: 35px; left: 0; width: 100%; z-index: 1000;
    padding: 1rem 0; transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header.scrolled { position: fixed; top: 0; background-color: var(--white); padding: 0.8rem 0; box-shadow: var(--shadow-md); border-bottom: none; }

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

.logo-text { color: var(--white); }
header.scrolled .logo-text { color: var(--primary); }
.logo-text h1 { font-size: 1.5rem; letter-spacing: 2px; margin: 0; color: inherit; }
.logo-text p { font-size: 0.75rem; letter-spacing: 4px; color: var(--accent); margin: 0; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--white); text-transform: uppercase; position: relative; }
header.scrolled .nav-links a { color: var(--gray-dark); }

.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--accent); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
header.scrolled .mobile-menu-btn { color: var(--primary); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 350px; height: 100vh;
    background-color: var(--primary); color: var(--white); z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2); transition: right 0.4s ease;
}
.mobile-menu.active { right: 0; }
.mobile-menu-inner { padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem;}
.mobile-header h2 { color: var(--white); font-size: 1.2rem; }
.close-btn { background: none; border: none; font-size: 1.5rem; color: var(--accent); cursor: pointer; }
.mobile-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-links a { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; text-transform: uppercase; }

/* Hero Section */
.hero { position: relative; height: 100vh; min-height: 750px; display: flex; align-items: center; }
.hero-image { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; z-index: -2; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to right, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.5) 100%); z-index: -1; }
.hero-content { width: 100%; z-index: 10; }
.hero-text { max-width: 700px; color: var(--white); }

.badge { display: inline-block; padding: 5px 12px; background: rgba(255,255,255,0.1); border-left: 3px solid var(--accent); font-family: var(--font-heading); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.hero-text h2 { font-size: 4rem; color: var(--white); margin-bottom: 1.5rem; }
.hero-text .desc { font-size: 1.1rem; line-height: 1.8; opacity: 0.9; }

/* Desktop Booking Form */
.booking-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; transform: translateY(50%); z-index: 20; }
.relative-container { position: relative; }
.booking-form { display: flex; justify-content: space-between; align-items: flex-end; background: var(--white); padding: 1.5rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border-top: 4px solid var(--primary); gap: 20px; }
.form-group { flex: 1; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 0.5rem; }
.input-with-icon { position: relative; }
.input-with-icon i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.1rem; }
.form-control { width: 100%; padding: 12px 12px 12px 35px; border: 1px solid #E5E7EB; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; color: var(--dark); background: var(--gray-light); outline: none; }
.form-control:focus { border-color: var(--primary); }
.button-group { flex: 0.8; }
.button-group .btn { padding: 12px 20px; margin: 0; height: 100%; display: flex; align-items: center; justify-content: center; }

/* About / Hub Section */
.about { padding: 10rem 0 6rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text .lead { font-size: 1.25rem; font-weight: 500; color: var(--primary); margin-bottom: 1.5rem; border-left: 3px solid var(--accent); padding-left: 15px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid #E5E7EB; padding-top: 2rem; }
.stat-item h4 { font-size: 2rem; color: var(--primary); margin-bottom: 0.2rem; }
.stat-item p { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; color: var(--gray-dark); }

.about-images { position: relative; }
.image-wrapper.framed { position: relative; padding: 15px; background: var(--white); box-shadow: var(--shadow-lg); }
.image-wrapper.framed img { width: 100%; display: block; }

.float-box { position: absolute; bottom: -20px; left: -20px; background: var(--primary); color: var(--white); padding: 1.5rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 15px; }
.float-box i { font-size: 2rem; color: var(--accent); }
.float-box span { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }

/* Rooms Section */
.rooms { padding: 6rem 0; }
.room-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: 2.5rem; margin-top: 3rem; }
.room-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column;}
.room-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.room-image { position: relative; height: 260px; overflow: hidden; }
.room-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.room-card:hover .room-image img { transform: scale(1.05); }

.badge-price { position: absolute; top: 15px; right: 15px; background: rgba(17, 24, 39, 0.85); color: var(--white); padding: 5px 15px; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; border-radius: 50px; backdrop-filter: blur(4px); }
.badge-price.highlight { background: var(--accent); color: var(--dark); }

.room-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.room-content h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.room-content p { font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }

.amenities-row { display: flex; gap: 15px; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); padding: 1rem 0; margin-bottom: 1.5rem; }
.am-item { color: var(--primary); font-size: 1.2rem; position: relative; cursor: help; }

/* Dining */
.business-dining { padding: 6rem 0; }
.dining-container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.dining-image img { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.highlight-line { width: 60px; height: 3px; background-color: var(--accent); margin-bottom: 1.5rem; }

.feature-bullets { margin: 2rem 0; }
.bullet { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-bottom: 0.8rem; }
.bullet i { color: var(--accent); }

/* Landmarks */
.landmarks { padding: 6rem 0; background: var(--dark); color: var(--white); }
.landmarks .section-title { color: var(--white); }
.landmarks .section-desc { color: #9CA3AF; }

.points-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.point-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 2rem; border-radius: var(--radius-sm); transition: var(--transition); }
.point-card:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); transform: translateY(-5px); }
.point-card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.point-card h4 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.8rem; }
.point-card p { font-size: 0.85rem; color: #9CA3AF; }

/* Footer */
.corporate-footer { background: #0F172A; color: #9CA3AF; padding: 5rem 0 2rem; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 2fr 1.5fr; gap: 4rem; margin-bottom: 3rem; }
.brand-group .logo-text h2 { color: var(--white); }

.links-group { display: flex; justify-content: space-around; }
.link-column h4, .contact-group h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.link-column a { display: block; margin-bottom: 0.8rem; }
.link-column a:hover { color: var(--accent); }

.contact-list li { display: flex; gap: 15px; margin-bottom: 1rem; align-items: flex-start; }
.contact-list i { color: var(--accent); margin-top: 5px; }
.social-links a { display: inline-flex; width: 35px; height: 35px; background: rgba(255,255,255,0.1); color: var(--white); align-items: center; justify-content: center; border-radius: var(--radius-sm); margin-right: 10px; }
.social-links a:hover { background: var(--accent); color: var(--dark); }

.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.85rem; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.appear, .slide-up.appear, .slide-in-left.appear, .slide-in-right.appear { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Desktop Media Query Adjustments */
@media (max-width: 1024px) {
    .points-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .hero-text h2 { font-size: 3.5rem; }
}

/* 
==========================================================
PERFECTED BULLETPROOF MOBILE VIEW FOR SEMARANG LAYOUT 
==========================================================
*/
@media (max-width: 768px) {
    .top-bar, .nav-links, .header-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    header { top: 0; background: var(--primary); padding: 1rem 0; }
    .logo-text p { color: var(--white); }
    header.scrolled .logo-text p { color: var(--accent); }
    
    .hero { height: auto; min-height: 100vh; flex-direction: column; justify-content: center; padding-top: 100px; padding-bottom: 2rem;}
    .hero-text { text-align: center; padding: 0 10px; }
    .hero-text h2 { font-size: 2.5rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 10px; }
    
    /* STRICT BOOKING WIDGET RULES FOR MOBILE */
    .booking-wrapper {
        position: relative !important;
        transform: none !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0;
        margin-top: 3rem;
        z-index: 20;
    }
    
    .relative-container {
        padding: 0 15px; /* ensure margin from screen edge */
    }
    
    .booking-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        margin: 0 auto;
        width: 100%;
    }
    
    .form-group, .button-group {
        width: 100% !important;
        flex: none !important;
    }
    
    .button-group .btn { width: 100%; margin-top: 10px; }
    /* End Strict Booking Widget */

    .about { padding-top: 5rem; }
    .about-grid, .dining-container, .footer-layout { grid-template-columns: 1fr; gap: 3rem; }
    
    .float-box { position: relative; left: 0; bottom: 0; margin-top: -20px; z-index: 2; width: 90%; margin-left: auto; margin-right: auto;}
    
    .points-grid { grid-template-columns: 1fr; }
    .links-group { flex-direction: column; gap: 2rem; }
}
