@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');

/* ===================================
    RESET & BASE STYLES
    =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

body.admin-body {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    min-height: 100vh;
    font-size: 16px;
}

body.loading {
    opacity: 0;
}

body:not(.loading) {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER
   =================================== */
header {
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 1rem 0;
    border-bottom: 2px solid #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: #000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo avec fond blanc pour éviter la fusion */
.logo {
    background: transparent;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    border-radius: 8px;
    background: transparent;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ccc;
}

.btn-contact {
    padding: 0.7rem 1.5rem;
    background-color: #d32f2f;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #d32f2f;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.btn-contact:hover {
    background-color: #fff;
    color: #d32f2f !important;
    border-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background-color: #000;
    padding: 0;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('img/Back.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateZ(0);
}

/* Dégradé d'assombrissement global */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: 0;
    width: 100%;
    height: 60%;
    pointer-events: none;
    z-index: 1;
    
    /* Dégradé de noir progressif */
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.75) 20%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0.1) 80%,
        transparent 100%
    );
    
    /* Flou backdrop maximal */
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    
    /* Ombres portées multiples pour simuler des couches de flou */
    box-shadow: 
        0 -20px 60px rgba(0, 0, 0, 0.8),
        0 -40px 80px rgba(0, 0, 0, 0.6),
        0 -60px 100px rgba(0, 0, 0, 0.4),
        0 -80px 120px rgba(0, 0, 0, 0.2),
        inset 0 -100px 150px rgba(0, 0, 0, 0.5);
    
    /* Masque en dégradé - Préfixe webkit d'abord pour meilleure compatibilité */
    -webkit-mask-image: linear-gradient(
        to top,
        black 0%,
        black 10%,
        rgba(0, 0, 0, 0.95) 25%,
        rgba(0, 0, 0, 0.85) 40%,
        rgba(0, 0, 0, 0.65) 55%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.2) 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to top,
        black 0%,
        black 10%,
        rgba(0, 0, 0, 0.95) 25%,
        rgba(0, 0, 0, 0.85) 40%,
        rgba(0, 0, 0, 0.65) 55%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.2) 85%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    padding: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-content #business-name {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-content .tagline {
    font-size: 1.2rem;
    color: #ddd;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-hero {
    padding: 1rem 2.5rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-hero:hover {
    background-color: transparent;
    color: #fff;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-hero.btn-outline {
    background-color: transparent;
    color: #fff;
}

.btn-hero.btn-outline:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}
/* ===================================
   PRESENTATION SECTION
   =================================== */
.presentation {
    background-color: #fff;
    padding: 5rem 0;
}

.presentation h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.8;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background-color: #f5f5f5;
    padding: 5rem 0;
    border-top: 2px solid #000;
}

.services h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border: 2px solid #000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 #000;
}

.service-image {
    margin-bottom: 1.5rem;
    position: relative;
}

.service-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    transition: all 0.3s ease;
    filter: blur(0px);
    border-radius: 18px;
}

.service-item:hover .service-image img {
    filter: blur(2px);
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-item p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.service-item .service-price {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

/* ===================================
   BIKES SECTION
   =================================== */
.bikes {
    background-color: #fff;
    padding: 5rem 0;
    border-top: 2px solid #000;
}

.bikes h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bikes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bike-card {
    background-color: #fff;
    border: 2px solid #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bike-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 #000;
}

.bike-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid #eee;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.bike-card:hover .bike-image {
    transform: scale(1.02);
}

.bike-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.bike-description {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.bike-price-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.bike-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000;
}

.bike-original-price {
    font-size: 1.1rem;
    color: #888;
    text-decoration: line-through;
}

.bike-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.bike-status.vendu {
    background: #888;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background-color: #fff;
    padding: 5rem 0;
    border-top: 2px solid #000;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(
        135deg,
        #fff 0%,
        #f2f2f2 50%,
        #fff 100%
    );
    background-size: 200% 200%;
    animation: subtleGradient 12s ease-in-out infinite;
    padding: 2rem;
    border: 2px solid #000;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-card p {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-card strong {
    color: #000;
    display: block;
    margin-top: 1rem;
}

.contact-card a:not(.btn-maps) {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #000;
    transition: opacity 0.3s ease;
}

.contact-card a:not(.btn-maps):hover {
    opacity: 0.6;
}

.address {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.address-link {
    text-decoration: none;
    display: block;
}

.address-link:hover .address {
    color: #000;
}

.btn-maps {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #d32f2f;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #d32f2f;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.btn-maps:hover {
    background-color: #fff;
    color: #d32f2f !important;
    border-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    opacity: 1;
}
/* Hours Table */
.hours-card {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

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

.hours-table tr {
    border-bottom: 1px solid #ccc;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 1rem 0;
    font-size: 1rem;
}

.hours-table .day {
    font-weight: 700;
    color: #000;
    width: 40%;
}

.hours-table .closed {
    color: #999;
    font-style: italic;
}

/* ===================================
   ADMIN / LOGIN
   =================================== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;
}

.login-box {
    background: #fff;
    padding: 3rem;
    border: 3px solid #fff;
    width: 100%;
    max-width: 450px;
    box-shadow: 15px 15px 0 rgba(255, 255, 255, 0.1);
}

.login-box h1 {
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #000;
    font-size: 1rem;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #333;
}

.login-error {
    color: #c00;
    margin-top: 1rem;
    text-align: center;
    font-weight: 700;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0;
    border-top: 3px solid #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo strong {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-logo p {
    color: #ccc;
    margin-top: 0.5rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #000;
}

.social-link img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.social-link:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background-color: #f0f0f0;
}

.social-link.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-link.facebook:hover img {
    filter: brightness(0) invert(1);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #405DE6, #5B51D8, #813584, #FD1D1D);
    border-color: #FD1D1D;
    box-shadow: 0 8px 20px rgba(253, 29, 29, 0.4);
}

.social-link.instagram:hover img {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
}

/* ===================================
   ADMIN PANEL
   =================================== */
.admin-header {
    background: #000;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.admin-header h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.view-site-link {
    color: #fff;
    text-decoration: underline;
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.view-site-link:hover {
    opacity: 1;
}

.admin-nav {
    display: flex;
    align-items: center;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.admin-nav li {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.admin-nav li.active,
.admin-nav li:hover {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

.admin-layout {
    display: block;
    min-height: 80vh;
}

.admin-sidebar {
    display: none;
}

.admin-main {
    flex: 1;
    background: #f5f5f5;
    padding: 2.5rem;
    min-height: 80vh;
}

.container-fluid {
    max-width: 1000px;
    margin: 0 auto;
}

.admin-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 2px solid #000;
}

.admin-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 3px solid #000;
    padding-bottom: 0.8rem;
}

.section-desc {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #000;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #000;
    font-size: 1rem;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d32f2f;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.admin-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background: #d32f2f;
    color: #fff;
    border: 2px solid #d32f2f;
}

.btn-primary:hover {
    background: #fff;
    color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.2rem 2.8rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Hours Editor */
.hours-editor .hour-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.day-name {
    min-width: 120px;
    font-weight: 700;
    color: #000;
}

.inputs {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.inputs input {
    padding: 0.6rem;
    border: 2px solid #000;
    border-radius: 4px;
    font-size: 0.95rem;
}

.closed-toggle {
    margin-left: auto;
    font-size: 0.95rem;
    color: #d32f2f;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.closed-toggle:hover {
    color: #000;
}

/* Service Editor */
.service-editor {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-editor:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #000;
}

.service-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.service-editor h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #000;
    font-weight: 700;
}

.btn-delete {
    background: #fff;
    color: #d32f2f;
    border: 2px solid #d32f2f;
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-delete:hover {
    background: #d32f2f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.add-service-container {
    text-align: center;
    margin-top: 2rem;
    padding: 3rem;
    border: 3px dashed #d0d0d0;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.add-service-container:hover {
    border-color: #000;
    background: #fff;
}

.btn-add-service {
    background: #d32f2f;
    color: #fff;
    border: 2px solid #d32f2f;
    border-radius: 4px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-add-service:hover {
    background: #fff;
    color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.img-preview {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    margin-top: 1rem;
    object-fit: cover;
}

.upload-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.8rem;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1.2rem 2rem;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    font-weight: 600;
    animation: slideIn 0.3s ease;
    border-radius: 4px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        right: 0;
    }
    to {
        opacity: 1;
        right: 20px;
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        right: 20px;
    }
    to {
        opacity: 0;
        right: 0;
    }
}

.delete-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.add-icon {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

/* ===================================
   FORMS
   =================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #000;
    background: #fff;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #333;
}

textarea.form-control {
    resize: vertical;
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    width: 100%;
    padding: 1rem;
    background: #000;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

.btn-small {
    padding: 0.45rem 0.75rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    line-height: 1.1;
    border-radius: 4px;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    background: #333;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-delete {
    padding: 0.5rem 1rem;
    background: #fff;
    color: #c00;
    border: 2px solid #c00;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-delete:hover {
    background: #c00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.btn-add-service {
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-add-service:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

.delete-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.add-icon {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(1) {
    animation: slideInLeft 0.6s ease-out 0.1s both;
}

.service-item:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.service-item:nth-child(3) {
    animation: slideInRight 0.6s ease-out 0.5s both;
}

.contact-card {
    animation: fadeInUp 0.6s ease-out both;
}

.contact-card:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    /* Header */
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        padding: 6px 12px;
    }

    .logo img {
        height: 50px;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .btn-contact {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-content #business-name {
        max-width: 350px;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .hero-content .tagline {
        font-size: 1rem;
    }

    /* Sections */
    .presentation h2,
    .services h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hours-card {
        grid-column: 1;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-info {
        text-align: center;
    }

    /* Admin */
    .login-box {
        min-width: 90%;
        padding: 2rem;
    }

    .admin-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .admin-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }

    nav ul {
        font-size: 0.9rem;
        gap: 0.75rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content #business-name {
        max-width: 250px;
    }

    .hours-table td {
        font-size: 0.9rem;
        padding: 0.8rem 0;
    }
}

/* ===================================
   LEGAL PAGES STYLES
   =================================== */
.legal-page {
    min-height: 70vh;
    padding: 4rem 0;
    background: #ffffff;
}

.legal-page .container {
    background: #ffffff;
}

.legal-content {
    max-width: 900px;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
}

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page p,
.legal-page li,
.legal-page strong,
.legal-page em,
.legal-page span,
.legal-page div {
    color: #000000 !important;
}

.legal-page a {
    color: #0066cc !important;
    text-decoration: underline;
}

.legal-page a:hover {
    color: #0052a3 !important;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid #000;
    padding-bottom: 1rem;
}

.last-updated {
    color: #666666 !important;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-list li {
    margin-bottom: 0.7rem;
}

.info-box {
    background: #f5f5f5 !important;
    border-left: 4px solid #000;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-box * {
    color: #000000 !important;
}

.info-box a {
    color: #0066cc !important;
    text-decoration: underline;
    font-weight: 500;
}

.info-box a:hover {
    text-decoration: none;
    opacity: 0.7;
}

.legal-footer-section {
    border-top: 2px solid #e0e0e0;
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .legal-page h1 {
        font-size: 1.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .info-box {
        padding: 1rem;
        font-size: 0.9rem;
    }
}