/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header / Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d4af37;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d4af37;
}

.btn-reserver {
    background: #d4af37;
    padding: 12px 30px;
    border-radius: 30px;
    color: #000 !important;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-reserver:hover {
    background: #f0c758;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Menu Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #d4af37;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Overlay pour fermer le menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* Section Hero avec vidéo */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text h1 {
    font-size: 72px;
    color: #fff;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-text h1 span {
    color: #d4af37;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-gold {
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f0c758 100%);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-transparent {
    padding: 16px 40px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-transparent:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Formulaire de réservation */
.reservation-form {
    background: rgba(30, 30, 30, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.reservation-form h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.reservation-form .subtitle {
    color: #999;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #d4af37;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(252, 182, 159, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #fcb69f 0%, #ffecd2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 182, 159, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Sections générales */
.section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 15px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-item p {
    color: #333;
    font-size: 16px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Admin Panel */
.admin-container {
    max-width: 1400px;
    margin: 100px auto 50px;
    padding: 40px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.btn-logout {
    background: #dc3545;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.admin-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

.table-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f8f8f8;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 600;
    color: #333;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-pending {
    background: #ffc107;
    color: #000;
}

.badge-confirmed {
    background: #28a745;
    color: #fff;
}

.badge-cancelled {
    background: #dc3545;
    color: #fff;
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* Responsive */
@media (max-width: 968px) {
    /* Navigation Mobile */
    .hamburger {
        display: flex;
    }
    
    nav {
        padding: 0 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .nav-links a {
        display: block;
        padding: 18px 20px;
        text-align: left;
        font-size: 16px;
        border-left: 3px solid transparent;
        transition: all 0.3s;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(212, 175, 55, 0.1);
        border-left-color: #d4af37;
    }
    
    .btn-reserver {
        margin-top: 10px;
        text-align: center !important;
        border-radius: 8px !important;
    }
    
    /* ===== HERO MOBILE STYLE EXCELLENCY ===== */
    .hero-content {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 80px 20px 20px;
        max-width: 100%;
    }
    
    .welcome-text {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    /* Boutons Hero en colonne sur mobile */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .btn-gold,
    .btn-transparent {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 15px;
    }
    
    /* Formulaire fixé en bas - Style Excellency */
    .reservation-form {
        width: calc(100% + 40px);
        padding: 25px 20px;
        border-radius: 25px 25px 0 0;
        margin: 0 -20px -20px -20px;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    }
    
    .reservation-form h2 {
        font-size: 22px;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .reservation-form .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select {
        padding: 13px 15px;
        font-size: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .btn-submit {
        padding: 15px;
        font-size: 15px;
        margin-top: 5px;
    }
    
    /* Grilles en 1 colonne */
    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Sections */
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    /* Page de réservation mobile */
    .admin-container,
    form {
        padding: 30px 20px !important;
    }
    
    h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    #map {
        height: 300px !important;
    }
    
    #price-estimate > div,
    #route-info > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    /* Extra petit mobile */
    .logo {
        font-size: 16px;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
    }
    
    /* Hero ultra-compact */
    .hero-text {
        padding: 70px 15px 15px;
    }
    
    .welcome-text {
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .hero-text h1 {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .btn-gold,
    .btn-transparent {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* Formulaire ultra-compact */
    .reservation-form {
        padding: 20px 15px;
        margin: 0 -15px -15px -15px;
        border-radius: 20px 20px 0 0;
    }
    
    .reservation-form h2 {
        font-size: 19px;
        margin-bottom: 6px;
    }
    
    .reservation-form .subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group label {
        font-size: 11px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 13px;
        font-size: 13px;
    }
    
    .form-row {
        gap: 14px;
    }
    
    .btn-submit {
        padding: 13px;
        font-size: 14px;
    }
    
    .btn-reserver {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .reservation-form {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 15px;
        font-size: 16px;
    }
}

/* Mode paysage mobile - optimisation hauteur */
@media (max-width: 968px) and (max-height: 600px) and (orientation: landscape) {
    .hero-text {
        padding: 60px 15px 10px;
    }
    
    .welcome-text {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .hero-text h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .hero-buttons {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .btn-gold,
    .btn-transparent {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .reservation-form {
        padding: 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .reservation-form h2 {
        font-size: 17px;
        margin-bottom: 5px;
    }
    
    .reservation-form .subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group select {
        padding: 9px 12px;
        font-size: 12px;
    }
    
    .btn-submit {
        padding: 11px;
        font-size: 13px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
