/* ============================================================
   Anugrah Enterprise — Full Redesign
   Industrial & Professional Theme
   Colors: Navy #0d2137 | Orange #e65100 | White #ffffff
   Font: Inter (loaded via functions.php)
   ============================================================ */

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

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

a { color: #e65100; text-decoration: none; transition: color 0.2s; }
a:hover { color: #bf360c; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #0d2137;
    margin-top: 0;
}

/* ---- Top Bar ---- */
.ae-topbar {
    background: #0d2137;
    color: #cbd5e0;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #e65100;
}
.ae-topbar .rcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.ae-topbar-left, .ae-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ae-topbar a { color: #e2e8f0; font-size: 13px; }
.ae-topbar a:hover { color: #e65100; }
.ae-topbar .lni { margin-right: 5px; color: #e65100; }

/* ---- Header / Nav ---- */
#masthead.site-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}
#masthead .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 72px;
}
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.site-branding .custom-logo { max-height: 60px; width: auto; }
.site-branding .site-title {
    font-size: 20px;
    font-weight: 800;
    color: #0d2137;
    margin: 0;
    line-height: 1.2;
}
.site-branding .site-title a { color: #0d2137; }
.site-branding .site-description {
    font-size: 11px;
    color: #e65100;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Nav Menu */
#site-navigation .rcontainer {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: none;
    padding: 0;
}
#primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}
#primary-menu > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    border-radius: 4px;
    transition: color 0.2s;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a {
    color: #e65100;
    background: transparent;
}
#simple-menu { color: #0d2137; font-size: 22px; display: none; }

/* ---- Hero Section ---- */
.ae-hero {
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 60%, #0d2137 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ae-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ae-hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.ae-hero-badge {
    display: inline-block;
    background: #e65100;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.ae-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.ae-hero h1 span { color: #e65100; }
.ae-hero p {
    font-size: 18px;
    color: #b0c4d8;
    max-width: 600px;
    margin: 0 auto 32px;
}
.ae-hero-cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.ae-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.ae-btn-primary {
    background: #e65100;
    color: #ffffff;
    border: 2px solid #e65100;
}
.ae-btn-primary:hover { background: #bf360c; border-color: #bf360c; color: #fff; }
.ae-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.5);
}
.ae-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ---- Stats Bar ---- */
.ae-stats {
    background: #e65100;
    color: #ffffff;
    padding: 20px;
}
.ae-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ae-stat-item { text-align: center; }
.ae-stat-number { font-size: 28px; font-weight: 800; display: block; }
.ae-stat-label { font-size: 13px; opacity: 0.9; font-weight: 500; }

/* ---- Content Area ---- */
#content.site-content { background: #f8f9fa; }
#primary.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page content styling */
.entry-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px;
    margin: 40px 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.entry-content h2 {
    font-size: 1.6rem;
    color: #0d2137;
    border-left: 4px solid #e65100;
    padding-left: 16px;
    margin: 40px 0 20px;
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
    font-size: 1.15rem;
    color: #1a3a5c;
    margin: 28px 0 12px;
    font-weight: 700;
}
.entry-content p {
    color: #4a5568;
    margin-bottom: 16px;
    font-size: 15.5px;
}
.entry-content ul, .entry-content ol {
    padding-left: 20px;
    color: #4a5568;
}
.entry-content ul li, .entry-content ol li {
    margin-bottom: 8px;
    font-size: 15px;
}
.entry-content ul li::marker { color: #e65100; }

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.entry-content table thead th {
    background: #0d2137;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.entry-content table tbody tr:nth-child(even) { background: #f7fafc; }
.entry-content table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

/* ---- Highlighted CTA Box ---- */
.entry-content p:last-of-type {
    background: linear-gradient(135deg, #0d2137, #1a3a5c);
    color: #ffffff;
    padding: 28px 32px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    margin-top: 40px;
}
.entry-content p:last-of-type a {
    color: #ffab40;
    font-weight: 700;
}

/* ---- Footer ---- */
#colophon.site-footer {
    background: #0d2137;
    color: #a0aec0;
    padding: 60px 20px 30px;
}
.ae-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ae-footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e65100;
    display: inline-block;
}
.ae-footer-col p { font-size: 14px; line-height: 1.8; color: #a0aec0; margin: 0 0 12px; }
.ae-footer-links { list-style: none; padding: 0; margin: 0; }
.ae-footer-links li { margin-bottom: 10px; }
.ae-footer-links a {
    color: #a0aec0;
    font-size: 14px;
    transition: color 0.2s;
}
.ae-footer-links a:hover { color: #e65100; }
.ae-footer-links a::before { content: '→ '; color: #e65100; font-size: 12px; }
.ae-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #a0aec0;
}
.ae-footer-contact-item .icon {
    color: #e65100;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bottom-footer {
    background: #060f1a;
    color: #718096;
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
}
.bottom-footer a { color: #a0aec0; }
.bottom-footer a:hover { color: #e65100; }

/* ---- Page Banner (inner pages) ---- */
.resoto-page-banner {
    background: linear-gradient(135deg, #0d2137, #1a3a5c);
    color: white;
    padding: 40px 20px;
    text-align: center;
}
.resoto-page-banner h1, .resoto-page-banner h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
}

/* ---- Preloader ---- */
.resoto-preloader { display: none; }

/* ---- Side Menu ---- */
#resoto-sidemenu {
    background: #0d2137;
}
#resoto-sidemenu ul li a { color: #e2e8f0; }
#resoto-sidemenu ul li a:hover { color: #e65100; }

/* ---- Hide unused elements ---- */
.resoto-search, .resoto-hotelcart { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .ae-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .entry-content { padding: 28px 20px; }
}
@media (max-width: 640px) {
    #masthead .main-header { padding: 0 16px; min-height: 60px; }
    #primary-menu { display: none; }
    #simple-menu { display: block; }
    .ae-hero { padding: 50px 16px; }
    .ae-hero h1 { font-size: 1.8rem; }
    .ae-stats-inner { gap: 16px; }
    .ae-stat-number { font-size: 22px; }
    .ae-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .entry-content { padding: 20px 16px; margin: 20px 0; }
    .ae-topbar .ae-topbar-right { display: none; }
}
