/* Custom Styles for Rent App */
:root {
    --primary: #ea580c; /* orange-600 */
    --primary-hover: #c2410c; /* orange-700 */
    --dark: #111827; /* gray-900 */
    --light: #f9fafb; /* gray-50 */
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    max-width: 56rem;
}

/* Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.image-zoom {
    transition: transform 0.5s ease;
}

.service-card:hover .image-zoom {
    transform: scale(1.1);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    ring: 2px solid var(--primary);
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--primary);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

#mobile-menu.hidden {
    display: none;
}

/* Utility Classes */
.btn-primary {
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    text-align: center;
    display: block;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Налаштування для мобільних пристроїв (екрани менше 768px) */
@media (max-width: 768px) {
    html {
        font-size: 87.5%; 
    }
}

/* Додаткове уточнення для дуже маленьких екранів (менше 480px) */
@media (max-width: 480px) {
    h1 {
        /* Головні заголовки на телефонах іноді потребують ще більшого зменшення */
        letter-spacing: -0.02em;
        line-height: 1.2;
    }
}
