/* HammamFinder Custom Styles */

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: #C9A961;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(201, 169, 97, 0.9);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 2px solid #1E3A5F;
    color: #1E3A5F;
    padding: 10px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1E3A5F;
    color: white;
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #C9A961;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1E3A5F;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button Animation */
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Menu Animations */
.group:hover .group-hover\:opacity-100 {
    transition-delay: 0.1s;
}

/* Card Hover Effects */
.hover\:shadow-xl:hover {
    transform: translateY(-2px);
}

/* Rating Badge */
.rating-badge {
    @apply bg-gold-sand text-white px-3 py-1 rounded-full text-sm font-semibold inline-flex items-center;
}

/* Price Display */
.price-display {
    @apply text-2xl font-bold text-hammam-blue;
}

/* Section Spacing */
.section-padding {
    @apply py-16;
}

/* Container Max Width */
.container {
    max-width: 1200px;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.show {
    display: block;
}

/* Hero Section Background */
.hero-bg {
    background: linear-gradient(135deg, #1E3A5F 0%, #2C3E50 100%);
}

/* Card Styles */
.card {
    @apply bg-white rounded-lg shadow-lg overflow-hidden;
}

.card:hover {
    @apply shadow-xl;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Focus States for Accessibility */
a:focus, button:focus {
    outline: 2px solid #C9A961;
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Search Form Specific Styles */
.search-container {
    background: linear-gradient(135deg, #F8F9FA 0%, #ffffff 100%);
    border: 1px solid #DEE2E6;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.search-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .search-buttons {
        flex-direction: row;
    }
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2C3E50;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    background-color: #ffffff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #C9A961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-input::placeholder {
    color: #6C757D;
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    background-color: #ffffff;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-textarea:focus {
    outline: none;
    border-color: #C9A961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Badge Styles */
.badge {
    @apply inline-flex items-center px-3 py-1 rounded-full text-sm font-medium;
}

.badge-primary {
    @apply bg-hammam-blue text-white;
}

.badge-secondary {
    @apply bg-gold-sand text-white;
}

.badge-success {
    @apply bg-green-100 text-green-800;
}

/* Breadcrumb */
.breadcrumb {
    @apply flex items-center space-x-2 text-sm text-soft-text;
}

.breadcrumb a {
    @apply hover:text-hammam-blue transition-colors;
}

.breadcrumb-separator {
    @apply text-marble-gray;
}

/* Star Rating */
.star-rating {
    @apply flex items-center;
}

.star-rating .star {
    @apply text-gold-sand;
}

.star-rating .star.empty {
    @apply text-marble-gray;
}

/* Map Container */
.map-container {
    @apply w-full h-64 rounded-lg overflow-hidden;
}

/* Feature List */
.feature-list {
    @apply space-y-3;
}

.feature-item {
    @apply flex items-center space-x-3;
}

.feature-icon {
    @apply w-5 h-5 text-gold-sand flex-shrink-0;
}

/* Gallery Grid */
.gallery-grid {
    @apply grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4;
}

.gallery-item {
    @apply aspect-square overflow-hidden rounded-lg cursor-pointer;
}

.gallery-item img {
    @apply w-full h-full object-cover hover:scale-105 transition-transform duration-300;
}

/* Testimonial */
.testimonial {
    @apply bg-white p-6 rounded-lg shadow-lg;
}

.testimonial-quote {
    @apply text-soft-text italic mb-4;
}

.testimonial-author {
    @apply flex items-center space-x-3;
}

.testimonial-avatar {
    @apply w-12 h-12 rounded-full object-cover;
}

/* Alert Messages */
.alert {
    @apply p-4 rounded-lg mb-4;
}

.alert-success {
    @apply bg-green-50 text-green-800 border border-green-200;
}

.alert-error {
    @apply bg-red-50 text-red-800 border border-red-200;
}

.alert-warning {
    @apply bg-yellow-50 text-yellow-800 border border-yellow-200;
}

.alert-info {
    @apply bg-blue-50 text-blue-800 border border-blue-200;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

.btn-primary{
    display: flex;
    align-items: center;
}

#book-now {
    z-index: 1024;
}

header{
    z-index: 2048;
}

.badge{
    padding: 0.5rem 1rem;
}
.badge-primary {
    background-color: #C9A961;
    color: white;
}
.badge-secondary {
    background-color: #1E3A5F;
    color: white;
}
.badge-success {
    background-color: #28A745;
    color: white;
}
.badge-danger {
    background-color: #DC3545;
    color: white;
}
.badge-warning {
    background-color: #FFC107;
    color: white;
}
.badge-info {
    background-color: #17A2B8;
    color: white;
}
.badge-light {
    background-color: #F8F9FA;
    color: #343A40;
}
.badge-dark {
    background-color: #343A40;
    color: white;
}

#hammam-description p{
    margin-bottom: 1rem;
    line-height: 1.6;
}