/* Global Custom stylesheet for BursamX Medya PHP site */

:root {
    --primary: #5a8e28;
    --primary-hover: #6ea832;
    --primary-gradient: linear-gradient(135deg, #5a8e28 0%, #7db93c 100%);
    --gray-brand: #656565;
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Glassmorphic Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 20px;
}

.navbar-brand img {
    max-height: 44px;
    width: auto;
    margin-right: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Submenus */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0 0;
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-links li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    padding: 10px 20px;
    display: block;
    font-size: 13px;
}

.submenu li a:hover {
    background-color: rgba(90, 142, 40, 0.1);
    color: var(--primary);
}

.btn-quote {
    background: var(--primary-gradient);
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(90, 142, 40, 0.4);
    transition: all 0.3s ease;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 142, 40, 0.6);
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Sticky Social Bar (Left Middle) */
.sticky-social {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.sticky-social a {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 18px;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.sticky-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Sticky Offer Button (Right Middle) */
/* Sticky Offer Button (Right Middle) - High Contrast & Centered */
.sticky-offer {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom; /* Rotate correctly around center-right edge */
    z-index: 1000;
}

.sticky-offer a {
    background: linear-gradient(135deg, #7db93c 0%, #5a8e28 100%) !important; /* Brighter high contrast green gradient */
    color: #ffffff !important;
    padding: 14px 28px !important;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 800 !important; /* Bold font weight */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 13.5px !important;
    display: block;
    box-shadow: 0 -5px 25px rgba(90, 142, 40, 0.6) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.sticky-offer a:hover {
    transform: translateY(-3px);
    box-shadow: 0 -5px 30px rgba(90, 142, 40, 0.8) !important;
    background: linear-gradient(135deg, #8ad342 0%, #6ea832 100%) !important;
}

/* Lightbox modal styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ffffff;
}

/* Form Styles */
.form-control {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-main) !important;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-control:focus {
    border-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.95;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .sticky-social, .sticky-offer {
        display: none;
    }
}

/* Hero 3-Column Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

.mini-banner-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mini-banner-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: calc(50% - 10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: transform 0.3s, border-color 0.3s;
}

.mini-banner-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.mini-banner-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s;
}

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

.mini-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(30, 37, 48, 0.7) 0%, rgba(30, 37, 48, 0.1) 100%);
    z-index: 2;
}

.mini-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 3;
}

.mini-banner-title {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.mini-banner-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .mini-banner-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .mini-banner-card {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .mini-banner-col {
        grid-template-columns: 1fr;
    }
}

/* Page Header Banner styling */
.page-banner {
    position: relative;
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.4) 0%, rgba(18, 24, 36, 0.85) 100%);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-banner-title {
    font-family: var(--font-title);
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.page-banner-subtitle {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Flashing green nav-offer-btn styling */
.nav-offer-btn {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(90, 142, 40, 0.4);
    animation: nav-btn-pulse 2s infinite;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 142, 40, 0.7);
    filter: brightness(1.05);
}

@keyframes nav-btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 142, 40, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(90, 142, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(90, 142, 40, 0);
    }
}

