/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Black Ops One', cursive;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 30rem 10rem;
    background: url('picture/Screenshot 2024-12-14 at 12.13.51 PM.png') center center/cover no-repeat; /* Replace with your image path */
    position: relative;
    height: 300px; /* Adjust the height as needed */
    transition: all 0.5s ease; /* Smooth transition for hover effects */
    cursor: pointer;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
    transition: background 0.5s ease; /* Smooth transition for overlay */
}

header h1, header p {
    position: relative;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease; /* Smooth fade-out for text */
}

header:hover::before {
    background: rgba(0, 0, 0, 0); /* Remove overlay on hover */
}

header:hover h1,
header:hover p {
    opacity: 0; /* Hide text on hover */
}

header h1 {
    font-family: 'Black Ops One', cursive;; /* Tattoo-style font */
    font-size: 4rem;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px; /* Adds a classic touch */
}

header p {
    font-family: 'Black Ops One', cursive; /* Bold, tattoo-style secondary font */
    font-size: 1.3rem;
    margin-top: 0.5rem;
    color: #ddd;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}



/* Gallery */
.gallery {
    padding: 2rem;
    text-align: center;
}

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

.image-grid img {
    width: 100%;
    border: 3px solid #fff;
    transition: transform 0.3s, filter 0.3s;
}

.image-grid img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Reservation Form */
.reservation {
    padding: 2rem 1rem;
    text-align: center;
}

form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input, form select, form button {
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
}

form button {
    background: #fff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

.btn {
    display: inline-block;
    text-align: center;
    background-color: #fff;
    color: #000;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Remove underline */
    transition: all 0.3s ease;
}

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

footer {
    font-family: 'Courier New', Courier, monospace; /* Classic typewriter style */
    font-size: 1rem; /* Adjust size as needed */
    color: #fff; /* White text color */
    background-color: #111; /* Dark background to match theme */
    padding: 1rem 0;
    text-align: center;
    border-top: 2px solid #444; /* Subtle border for separation */
    letter-spacing: 1px; /* Optional for cleaner look */
}

footer p {
    margin: 0;
    opacity: 0.8; /* Slightly faded for a softer look */
}

/* Footer Social Icons */
footer .social-icon {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.5rem; /* Adjust size as needed */
    color: #fff; /* Icon color */
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline */
}

footer .social-icon:hover {
    color: #ff007f; /* Instagram's brand color or any highlight */
    transform: scale(1.2); /* Slight zoom effect */
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Styles pour tablettes */
@media (max-width: 1024px) {
    header {
        height: 250px;
        padding: 5rem 2rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.2rem;
    }

    .gallery {
        padding: 1rem;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    form {
        max-width: 350px;
    }
}

/* Styles pour mobiles */
@media (max-width: 768px) {
    header {
        height: 200px;
        padding: 3rem 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .gallery h2, .reservation h2 {
        font-size: 1.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    form {
        width: 100%;
        padding: 0 1rem;
    }

    form input, form select, form button {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

/* Styles pour petits téléphones */
@media (max-width: 480px) {
    header {
        height: 150px;
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .image-grid img {
        border: 2px solid #fff;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}
