/* ================================================================
   Company Profile Custom Styles
   PT. Pelayaran Berkat Rehobot
   ================================================================ */

/* ------ Color Variables ------ */
:root {
    --primary: #0a3d6b;
    --primary-light: #1565a0;
    --primary-dark: #062a4a;
    --accent: #e88d1a;
    --accent-light: #f4a93c;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --dark: #1a1a2e;
    --gradient-primary: linear-gradient(135deg, #0a3d6b 0%, #1565a0 100%);
    --gradient-accent: linear-gradient(135deg, #e88d1a 0%, #f4a93c 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

/* ------ Typography Override ------ */
body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ------ Logo Override ------ */
#logo_home h1 a {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: var(--primary) !important;
    line-height: 1.3;
    background-image: none !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    padding-top: 5px;
}

/* ------ Hero Section ------ */
.hero-company {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,61,107,0.85) 0%, rgba(6,42,74,0.65) 50%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white) !important;
    margin-bottom: 15px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 600px;
}

.hero-btn {
    font-size: 15px !important;
    padding: 14px 35px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232,141,26,0.4);
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(232,141,26,0.5);
}

/* ------ About Section Stats ------ */
.about-company-text h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-company-text h3 i {
    color: var(--accent);
    margin-right: 10px;
}

.about-company-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-image-grid {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-badge-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(232,141,26,0.4);
}

.about-badge-overlay span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.about-badge-overlay strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}

/* ------ Service Cards ------ */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    margin-bottom: 30px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

.service-card h4 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 16px;
}

.service-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ------ Armada Section ------ */
.armada-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.armada-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.armada-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.armada-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.armada-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.armada-card:hover .armada-card-img img {
    transform: scale(1.05);
}

.armada-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.armada-card-body {
    padding: 25px;
}

.armada-card-body h3 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 22px;
}

.armada-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 14px;
}

.armada-capacity i {
    font-size: 20px;
}

.armada-card-body p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
}

/* ------ Visi Misi ------ */
.visi-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    height: 100%;
}

.visi-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.visi-icon i {
    font-size: 30px;
    color: var(--accent-light);
}

.visi-card h4 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.visi-text {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    font-style: italic;
}

.misi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.misi-card h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 24px;
}

.misi-card h4 i {
    color: var(--accent);
    margin-right: 8px;
}

.misi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.misi-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.7;
}

.misi-list li:last-child {
    border-bottom: none;
}

.misi-list li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 14px;
}

/* ------ Partner Grid ------ */
.promo_full {
    background-image: url('../img/company/kapal-vellario-2.jpg') !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
    position: relative;
    border-top: 5px solid var(--accent);
}
.promo_full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,61,107,0.92) 0%, rgba(232,141,26,0.3) 100%);
    z-index: 1;
}
.promo_full_wp {
    position: relative;
    z-index: 2;
}
.partner-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.partner-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 200px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.partner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.partner-icon i {
    font-size: 24px;
    color: var(--white);
}

.partner-item h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* ------ Sub Header for Inner Pages ------ */
.sub-header-company {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0 80px;
}

.sub-header-company .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,61,107,0.9) 0%, rgba(6,42,74,0.7) 100%);
}

.sub-header-company .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.sub-header-company h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white) !important;
}

.sub-header-company p {
    font-size: 16px;
    opacity: 0.85;
    margin: 0;
}

.breadcrumb-custom {
    text-align: center;
    margin-top: 15px;
}

.breadcrumb-custom a,
.breadcrumb-custom span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.breadcrumb-custom a:hover {
    color: var(--accent-light);
}

.breadcrumb-custom .sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}

/* ------ Armada Detail Page ------ */
.armada-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.armada-detail-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.armada-detail-gallery img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.armada-detail-info {
    padding: 35px;
}

.armada-detail-info h2 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.armada-detail-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.spec-item {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.spec-item .spec-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.spec-item .spec-label {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* ------ Contact Page ------ */
.contact-info-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item .ci-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .ci-icon i {
    font-size: 18px;
    color: var(--accent-light);
}

.contact-info-item .ci-text h5 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info-item .ci-text p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.contact-info-item .ci-text a {
    color: var(--accent-light);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 25px;
}

.form-control.styled-2 {
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    padding: 12px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control.styled-2:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(21,101,160,0.1);
}

/* ------ Alert Message ------ */
.alert-success-custom {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* ------ Gallery Grid ------ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 15px 15px;
    color: var(--white);
}

.gallery-item .gallery-caption h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

/* ------ Profil Page ------ */
.timeline-company {
    position: relative;
    padding: 30px 0;
}

.history-text p {
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 15px;
}

.highlight-box {
    background: var(--gray-100);
    border-left: 4px solid var(--accent);
    padding: 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 25px 0;
}

.highlight-box h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.area-layanan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.area-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.area-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.area-item i {
    font-size: 28px;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.area-item h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 3px;
}

.area-item p {
    font-size: 12px;
    color: var(--gray-600);
    margin: 0;
}

/* ------ Responsive ------ */
@media (max-width: 991px) {
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-company { height: 70vh; }
    .about-stats { gap: 15px; }
    .stat-number { font-size: 24px; }
    .armada-detail-gallery { grid-template-columns: 1fr; }
    .armada-detail-specs { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }
    .hero-company { height: 60vh; min-height: 400px; }
    .hero-nav-btn { width: 40px; height: 40px; font-size: 16px; }
    .about-stats { flex-direction: column; gap: 15px; }
    .sub-header-company h1 { font-size: 28px; }
    .armada-detail-specs { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .area-layanan-grid { grid-template-columns: 1fr; }
    .partner-grid { flex-direction: column; align-items: center; }
}
