:root {
    --color-gold: #FFD700;
    --color-dark: #000000;
    --color-gray: #34495E;
    --color-light: #ECF0F1;
    --color-accent: #E74C3C;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.6;
}

/* Header Styles */
header {
    padding: 2rem 4rem;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background-image: url('img/heaven.jpg');
    background-size: cover;
    background-position: 0 -194px;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

.hero h1 span:last-child {
    color: var(--color-gold);
}

.hero-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.hero-image .cartoon-image {
    width: auto;
    height: 400px;
    object-fit: contain;
    background: transparent;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--color-accent);
    border: none;
    color: var(--color-light);
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease;
    font-weight: bold;
    transform: scale(1);
}

.cta-button:hover {
    transform: scale(1.05);
    background: var(--color-gold);
    color: var(--color-dark);
}

/* Categories */
.categories {
    padding: 2rem 4rem;
}

.category-list {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.category-list a {
    color: var(--color-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--color-gold);
}

/* Search Bar */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.search-container {
    display: flex;
    gap: 12px;
    background: rgba(32, 32, 32, 0.9);
    padding: 16px;
    border-radius: 32px;
    max-width: 800px;
    width: 100%;
    justify-content: center;
}

.search-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.search-item input {
    background: transparent;
    border: none;
    color: var(--color-light);
    width: 100%;
    padding: 0.5rem;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.search-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-button.primary {
    background: #F5D48F;
    color: #000;
}

.search-button.primary:hover {
    background: #f0c970;
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
}

.icon.location {
    background-image: url('path-to-location-icon.svg');
}

.icon.calendar {
    background-image: url('path-to-calendar-icon.svg');
}

.icon.person {
    background-image: url('path-to-person-icon.svg');
}

/* Stats Section */
.stats {
    padding: 4rem;
    text-align: center;
}

.idefix-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.idefix-image img {
    width: auto;
    height: 150px;
    object-fit: contain;
}

.stats h2 {
    color: var(--color-gold);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.stats h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-container {
        flex-direction: column;
        border-radius: 25px;
    }

    .category-list {
        flex-wrap: wrap;
    }
} 

/* Add some playful animations */
.hero-image .cartoon-image {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
} 

/* Rental Card Section */
.rental-card {
    background-color: var(--color-dark);
    padding: 2rem;
    margin: 4rem;
    position: relative;
    border-radius: 8px;
}

.rental-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.rental-info {
    flex: 1;
    max-width: 500px;
}

.rental-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.rental-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 1rem 0;
}

.rental-price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.rental-period {
    color: var(--color-gray);
    font-size: 1.2rem;
}

.rental-description {
    margin-bottom: 2rem;
    color: var(--color-light);
    opacity: 0.8;
}

.rental-button {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-dark);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.rental-button:hover {
    transform: scale(1.05);
}

.rental-image {
    flex: 1;
    position: relative;
    height: auto;
}

.rental-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 16px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.specs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

.spec-item {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-light);
}

/* Responsive adjustments for rental card */
@media (max-width: 768px) {
    .rental-card {
        margin: 2rem;
        padding: 1.5rem;
    }

    .rental-title {
        font-size: 2.5rem;
    }

    .rental-specs {
        flex-direction: column;
    }

    .rental-image {
        width: 100%;
    }

    .specs-overlay {
        position: relative;
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
} 

.search-button i {
    font-size: 16px;
}

.search-button.primary i {
    color: #000; /* Makes the search icon black to match the text */
}















#pin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.pin-container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.pin-container h2 {
    margin-bottom: 1rem;
    color: #333;
}

.pin-input {
    font-size: 1.5rem;
    letter-spacing: 1rem;
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.pin-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pin-button:hover {
    background-color: #45a049;
}

.error-message {
    color: red;
    margin-top: 1rem;
    display: none;
}

#main-content {
    display: none;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.logout-button {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

.logout-button:hover {
    background-color: #d32f2f;
}
