/* ================================================
   PETPANSIYON - PAWBOOKING STYLE
   Modern, gradient, responsive design
   ================================================ */

:root {
    --primary-red: #D93F21;
    --primary-orange: #FF6B35;
    --gradient-start: #D93F21;
    --gradient-end: #FF8C42;
    --dark-text: #2D3142;
    --light-gray: #F8F9FA;
    --star-yellow: #FFC107;
    --shadow: 0 4px 20px rgba(217, 63, 33, 0.15);
    --shadow-hover: 0 8px 30px rgba(217, 63, 33, 0.25);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: #FAFAFA;
}

/* ================== NAVBAR ================== */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-red) !important;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: var(--primary-red);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
    background: rgba(217, 63, 33, 0.05);
}

/* ================== HERO SECTION ================== */
.hero-section {
    background: linear-gradient(135deg, #D93F21 0%, #FF8C42 100%);
    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ================== SEARCH BOX ================== */
.search-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.search-box .input-group {
    background: #F9FAFB;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    overflow: hidden;
    margin-bottom: 1rem;
}

.search-box .input-group:last-child {
    margin-bottom: 0;
}

.search-box .input-group-text {
    background: transparent;
    border: none;
    padding: 0 1rem;
}

.search-box .form-control,
.search-box .form-select {
    border: none;
    background: transparent;
    padding: 1rem 0.5rem;
    font-size: 1rem;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    box-shadow: none;
    outline: none;
}

.btn-search {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 63, 33, 0.3);
}

/* ================== HOW IT WORKS ================== */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.step-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #FAFAFA;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 280px;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(217, 63, 33, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.step-description {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================== HOTEL CARDS ================== */
.featured-hotels {
    padding: 100px 0;
    background: linear-gradient(180deg, #FAFAFA 0%, white 100%);
}

.hotel-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
    border: none;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.hotel-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-card-image img {
    transform: scale(1.1);
}

.hotel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hotel-card-body {
    padding: 1.5rem;
}

.hotel-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.hotel-location {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hotel-location i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: var(--star-yellow);
    font-size: 1rem;
}

.rating-count {
    color: #6B7280;
    font-size: 0.9rem;
}

.hotel-price {
    text-align: right;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
    line-height: 1;
}

.price-unit {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}

/* ================== CITY CARDS ================== */
.city-section {
    padding: 80px 0;
    background: white;
}

.city-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.city-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.9;
}

.city-card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
}

.city-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.city-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.city-description {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* ================== FEATURE CARDS ================== */
.why-section {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, #FAFAFA 100%);
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(217, 63, 33, 0.2);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.feature-description {
    color: #6B7280;
    line-height: 1.6;
}

/* ================== SECTION HEADERS ================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ================== BUTTONS ================== */
.btn {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 63, 33, 0.3);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ================== FOOTER ================== */
.footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

/* ================== ALERTS ================== */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .search-box .btn-search {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .step-icon {
        font-size: 3rem;
    }
    
    .city-icon {
        font-size: 3rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* ================== UTILITY CLASSES ================== */
.text-decoration-none {
    text-decoration: none;
}

.text-muted {
    color: #6B7280 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}
