/* ===== Gohar Maritime CMS Styles ===== */
:root {
    --primary: #0d1b3e;
    --primary-light: #1a3a6b;
    --accent: #c9a84c;
    --accent-hover: #b8983a;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #0d1b3e;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}
.site-wrapper { overflow-x: hidden; }

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,.8);
    padding: 8px 0;
    font-size: .85rem;
}
.top-bar a { color: rgba(255,255,255,.8); text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--accent); }
.top-contact i { color: var(--accent); margin-right: 5px; }
.top-social a { display: inline-block; width: 30px; height: 30px; line-height: 30px; text-align: center; background: rgba(255,255,255,.1); border-radius: 50%; font-size: .8rem; transition: var(--transition); }
.top-social a:hover { background: var(--accent); color: var(--primary); }

/* Main Header */
.header-main {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-main .navbar-brand img { height: 50px; }
.brand-text { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

/* Desktop Navbar */
.main-nav .navbar-nav .nav-link {
    padding: 12px 18px !important;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    transition: var(--transition);
    position: relative;
}
.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
    color: var(--accent);
}
.main-nav .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
}

/* Mobile Scroll Nav */
.mobile-nav-scroll { overflow: hidden; }
.nav-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-scroll-wrapper::-webkit-scrollbar { display: none; }
.nav-scroll {
    display: flex;
    gap: 4px;
    padding: 0 15px;
    list-style: none;
    margin: 0;
}
.nav-scroll li { flex: 0 0 auto; }
.nav-scroll li a {
    display: block;
    padding: 8px 16px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .9rem;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-scroll li a:hover,
.nav-scroll li a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-scroll li a.contact-btn-nav {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
}
.nav-scroll li a.contact-btn-nav:hover { background: var(--accent-hover); }

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }

/* Hero Section */
.hero-section { position: relative; }
.hero-slide {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,27,62,.85), rgba(26,58,107,.7));
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Sections */
.section { padding: 80px 0; }
.section-subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .9rem;
    display: inline-block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* About Section */
.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-placeholder i { font-size: 6rem; color: var(--accent); opacity: .7; }
.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(201,168,76,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--accent) 18%, transparent);
}

/* Services */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,.06);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,.1); }
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--accent);
}
.service-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary); }
.service-card p { color: var(--text-muted); font-size: .95rem; }
.service-link { color: var(--accent); text-decoration: none; font-weight: 600; transition: var(--transition); }
.service-link:hover { color: var(--accent-hover); }

/* Clients */
.client-logo {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.client-logo:hover { box-shadow: 0 5px 25px rgba(0,0,0,.1); }
.client-logo img { max-height: 60px; max-width: 100%; }

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
}
.newsletter-wrapper h3 { color: #fff; font-size: 1.8rem; font-weight: 700; }
.newsletter-wrapper p { color: rgba(255,255,255,.7); }
.newsletter-form .input-group { gap: 0; }
.newsletter-form .form-control { border: none; border-radius: 5px 0 0 5px; padding: 15px 20px; }
.newsletter-form .btn { border-radius: 0 5px 5px 0; padding: 15px 30px; }

/* Footer */
.site-footer { background: #081028; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-title { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: 15px; display: flex; gap: 10px; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
.footer-social a {
    display: inline-block;
    width: 38px; height: 38px;
    line-height: 38px;
    text-align: center;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: .9rem;
}

/* Page Content */
.page-content { min-height: 400px; }
.page-title { color: var(--primary); font-weight: 700; }
.content h1, .content h2, .content h3 { color: var(--primary); margin-top: 1.5rem; }
.content p { line-height: 1.8; margin-bottom: 1rem; }
.content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.content ul, .content ol { margin-bottom: 1rem; }
.content a { color: var(--accent); }

/* Post Meta */
.post-meta { color: var(--text-muted); font-size: .95rem; }
.post-meta i { color: var(--accent); }

/* Contact Page */
.contact-info-card { color: #fff; padding: 2rem; border-radius: 12px; height: 100%; }
.contact-info-card i { color: var(--accent); font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info-card h5 { color: #fff; }
.contact-info-card p { color: rgba(255,255,255,.7); }

/* Careers Page */
.job-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1.5rem; transition: var(--transition); margin-bottom: 1rem; }
.job-card:hover { border-color: var(--accent); box-shadow: 0 5px 20px rgba(0,0,0,.06); }
.job-card h4 { color: var(--primary); margin-bottom: .5rem; }
.job-meta { color: var(--text-muted); font-size: .9rem; }
.job-meta span { margin-right: 1.5rem; }
.job-meta i { color: var(--accent); margin-right: 5px; }

/* Blog */
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.06); transition: var(--transition); height: 100%; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-body h4 { font-size: 1.1rem; font-weight: 700; }
.blog-card-body h4 a { color: var(--primary); text-decoration: none; }
.blog-card-body h4 a:hover { color: var(--accent); }
.blog-card-body .post-meta { font-size: .85rem; }

/* Service Features (single page) */
.service-features li { padding: 8px 0; border-bottom: 1px solid #eee; }
.service-features li:last-child { border-bottom: none; }

/* Pagination */
.pagination { justify-content: center; }
.page-link { color: var(--primary); border: none; padding: 8px 16px; margin: 0 3px; border-radius: 5px; }
.page-item.active .page-link { background: var(--primary); }
.page-link:hover { background: var(--primary-light); color: #fff; }

/* Form Styles */
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }

/* Success / Error messages */
.alert-accent { background: rgba(201,168,76,.15); color: var(--accent-hover); border: 1px solid var(--accent); }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .hero-slide { height: 60vh; min-height: 400px; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-slide { height: 50vh; min-height: 350px; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.6rem; }
    .newsletter-form .input-group { flex-direction: column; }
    .newsletter-form .form-control { border-radius: 5px; margin-bottom: 5px; }
    .newsletter-form .btn { border-radius: 5px; }
    .footer-widget { margin-bottom: 30px; }
    .header-main .navbar-brand { margin: 0 auto; }
    .header-main .container { justify-content: center !important; }
    .top-bar { display: none; }
}

/* Dropdown menu on desktop */
.main-nav .dropdown-menu {
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.main-nav .dropdown-menu .dropdown-item {
    color: rgba(255,255,255,.85);
    padding: 8px 20px;
    transition: var(--transition);
}
.main-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(255,255,255,.1);
    color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp 1s ease; }
.service-card { animation: fadeInUp .6s ease; }
