/* public.css - Charte Graphique Or / Premium pour le Catalogue SINIFIN */

:root {
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8627;
    --navy-blue: #152a6b;
    --navy-dark: #0d1a44;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gray-text: #6c757d;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(212, 175, 55, 0.2);

    /* Override Bootstrap 5 Default Fonts to use Helvetica Neue globally */
    --bs-font-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    --bs-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    --bs-heading-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    --bs-body-font-weight: 400;
}

/* Force Helvetica Neue on all text elements across all sections */
html, body, h1, h2, h3, h4, h5, h6, p, a, span:not([class*="fa-"]), div:not([class*="fa-"]), button, input, select, textarea, .btn, .badge {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--navy-dark);
}

/* Navbar */
.navbar-premium {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.navbar-brand img {
    height: 50px;
}
.nav-link-premium {
    color: var(--navy-blue);
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-link-premium:hover {
    color: var(--gold-primary);
}
.btn-gold {
    background-color: var(--gold-primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background-color: var(--gold-primary);
    color: var(--white);
}

/* Hero Section / Search Bar (AdminKit Style) */
.hero-section {
    background: var(--bg-light);
    padding: 100px 0 120px;
    color: var(--navy-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.hero-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.hero-title span {
    color: var(--gold-primary);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-buttons {
    margin-bottom: 60px;
}
.search-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Overlap effect like Adminkit mockup */
    border: 1px solid rgba(0,0,0,0.05);
}
.search-card .form-label {
    color: var(--gray-text);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-card .form-select, .search-card .form-control {
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 8px;
    background-color: var(--white);
    font-size: 1rem;
    color: var(--navy-dark);
}
.search-card .form-select:focus, .search-card .form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Cards (Offres) */
.catalog-section {
    padding: 60px 0 100px;
    background: var(--white);
}
.offre-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.offre-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.offre-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.offre-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.offre-card:hover .offre-image {
    transform: scale(1.05);
}
.offre-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.offre-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.offre-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.offre-location {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.offre-location i {
    color: var(--gold-primary);
}
.offre-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.feature-item {
    font-size: 0.85rem;
    color: var(--navy-blue);
    display: flex;
    align-items: center;
    gap: 5px;
}
.feature-item i {
    color: var(--gold-primary);
}
.offre-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.offre-type {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-blue);
    background: var(--gold-light);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Detail Page */
.detail-header {
    background: var(--navy-dark);
    color: var(--white);
    padding: 40px 0;
}
.detail-title {
    font-weight: 800;
    font-size: 2.2rem;
}
.gallery-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}
.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.thumbnail:hover, .thumbnail.active {
    opacity: 1;
}
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}
.info-title {
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gold-primary);
}
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.detail-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}
.detail-list li:last-child {
    border-bottom: none;
}
.detail-list li span:first-child {
    color: var(--gray-text);
}
.detail-list li span:last-child {
    font-weight: 600;
    color: var(--navy-dark);
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--gold-light) 0%, #fff9e6 100%);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}
.contact-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

/* Footer */
.footer-premium {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
}
.footer-premium h5 {
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-premium a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-premium a:hover {
    color: var(--gold-primary);
}

/* Landing Page New Sections */
.info-section {
    padding: 80px 0;
    background: var(--white);
}
.info-section.bg-light {
    background: var(--bg-light);
}
.info-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 20px;
}
.gold-check-list {
    list-style: none;
    padding-left: 0;
}
.gold-check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--gray-text);
}
.gold-check-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold-primary);
    font-size: 1.2rem;
}
.type-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3);
}
.type-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}
.type-card h4 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 15px;
}
.type-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: var(--gray-text);
    font-size: 0.95rem;
}
.type-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}
.type-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.zone-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    height: 100%;
}
.zone-card h5 {
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 10px;
}
.zone-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin: 0;
}
.advantages-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Custom SVG Map Styles */
.bf-map-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
}
.bf-map-svg {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}
.bf-region {
    fill: #e2e8f0;
    stroke: #ffffff;
    stroke-width: 2px;
    transition: fill 0.3s ease, transform 0.3s ease, stroke-width 0.3s ease;
    transform-origin: center;
    cursor: pointer;
}
.bf-region:hover {
    fill: var(--gold-primary);
    stroke: var(--navy-dark);
    stroke-width: 1px;
    z-index: 10;
}

/* Forcer les formes carrées (angles droits) pour un look premium et rigoureux */
.btn, .card, .badge, .form-control, .form-select, .search-card-pill, .offre-card, .type-card, .zone-card, .advantages-box, .info-card, .gallery-container, .contact-card, .offre-badge, .offre-type, .search-card {
    border-radius: 0 !important;
}
.hover-gold { transition: color 0.3s ease; }
.hover-gold:hover { color: var(--gold-primary) !important; }
