/* assets/frontside/css/siyahyazilim.general.css */

:root {
    --primary-navy: #1B2A47;
    --primary-gold: #C5A880;
    --light-bg: #F8F9FA;
    --text-main: #333333;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}
p {
    font-weight: 500;
    line-height: 1.8;
}

/* Utilities */
.bg-navy { background-color: var(--primary-navy) !important; }
.text-navy { color: var(--primary-navy) !important; }
.bg-gold { background-color: var(--primary-gold) !important; }
.text-gold { color: var(--primary-gold) !important; }

.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: white;
}
.btn-primary:hover {
    background-color: #b0946f;
    border-color: #b0946f;
}

.btn-outline-primary {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}
.btn-outline-primary:hover {
    background-color: var(--primary-navy);
    color: white;
}

/* Header & Nav */
.bukan-header .top-bar {
    background-color: var(--primary-navy);
    padding: 8px 0;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-navy);
    line-height: 1;
    text-transform: uppercase;
}
.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 4px;
    display: block;
    margin-top: 5px;
}
.navbar-nav .nav-link {
    color: var(--text-main);
    padding: 10px 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-gold);
}

/* Custom Dropdown Toggle */
.navbar-nav .dropdown-toggle::after {
    display: none; /* Hide default bootstrap caret */
}
.navbar-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 5px;
}
.navbar-nav .dropdown-toggle::before {
    content: '\f107'; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    order: 2; /* Put it on the right side */
    transition: transform 0.3s ease;
}
.navbar-nav .dropdown.show .dropdown-toggle::before {
    transform: rotate(180deg);
}
.navbar-nav .dropdown:hover .dropdown-toggle {
    border-color: rgba(0,0,0,0.05);
    background-color: var(--light-bg);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-navy);
    color: white;
    overflow: hidden;
}
.hero-image-wrap img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20c997 !important;
}

/* Footer Section */
.bukan-footer {
    border-top: 4px solid var(--primary-gold);
}
.footer-links a, .footer-contact a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}
.hover-opacity-100 {
    transition: opacity 0.3s;
}
.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* About Image Wrap */
.about-img-wrap {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}
.about-img-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    background-color: var(--primary-gold);
    z-index: -1;
    border-radius: 10px;
}
.about-img-wrap img {
    border-radius: 10px;
}

/* Content Sections */
.section-padding {
    padding: 80px 0;
}
.section-title {
    color: var(--primary-navy);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background: var(--white);
    border: none;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.service-card h3 {
    font-size: 1.5em;
    font-weight: 600;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: var(--primary-navy);
    color: #fff;
}

.service-card img {
    max-height: 68px;
    object-fit: contain;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: white;
}
.service-card:hover h4, .service-card:hover p {
    color: white;
}
.service-card:hover .btn-link {
    color: var(--primary-gold) !important;
}

.hero-carousel-container {
    min-height: 65vh;
}

.social-icon-btn {
    width: 40px; 
    height: 40px; 
    padding: 7px;
}
.form-textarea-large {
    height: 150px;
}
.map-iframe {
    border: 0;
}
.page-banner-gradient {
    background-image: linear-gradient(rgba(27, 42, 71, 0.9), rgba(27, 42, 71, 0.9));
}
.decision-text-content {
    font-size: 0.95rem;
}
.article-card-img {
    height: 200px;
}
.article-details-img {
    height: 400px; 
    background-color: var(--primary-navy); 
    position: relative;
}
.article-details-gradient {
    position: absolute; 
    inset: 0; 
    background: linear-gradient(45deg, var(--primary-navy), #2c4270); 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.article-details-icon {
    font-size: 8rem; 
    color: rgba(255,255,255,0.1);
}
.sidebar-sticky-offset {
    top: 100px;
}
.author-profile-img {
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    background-color: var(--primary-navy); 
    color: white; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    font-size: 2.5rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-top: 4px solid var(--primary-gold);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Subtle background accent pattern on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1b2a47 0%, #111b2e 100%);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card .icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background-color: rgba(197, 168, 128, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card .icon-wrap i {
    font-size: 2.2rem;
    transition: all 0.4s ease;
    color: var(--primary-gold) !important;
}

.service-card h3 {
    font-size: 1.45rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.service-card p {
    font-size: 0.92rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

/* Premium Hover State */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 42, 71, 0.15), 0 5px 15px rgba(197, 168, 128, 0.1);
    border-color: transparent;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-card:hover .icon-wrap {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.service-card:hover .icon-wrap i {
    color: #ffffff !important;
    transform: rotateY(180deg);
}

.service-card:hover h3 {
    color: var(--primary-gold) !important;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Subtle "detay" button effect */
.service-card-footer {
    margin-top: 25px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-card:hover .service-card-footer {
    opacity: 1;
    transform: translateY(0);
}

.service-card-footer a {
    text-decoration: none;
}

.service-card-footer span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 1px;
}

.service-card-footer i {
    font-size: 0.8rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.service-card-footer:hover i {
    transform: translateX(4px);
}