/* Badagamuwa Tourist Complex Styles */

:root {
    --primary-orange: #FF8C00;
    --dark-orange: #E67E00;
    --dark-black: #1a1a1a;
    --light-gray: #f5f5f5;
}

/* Hero Section */
.badagamuwa-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.badagamuwa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.5);
    z-index: 1;
}

.badagamuwa-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.badagamuwa-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(26, 26, 26, 0.1);
    border-radius: 50%;
}

.badagamuwa-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.badagamuwa-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    color: white;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out;
}

.badagamuwa-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-btn {
    animation: fadeInUp 1s ease-out 1s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--dark-black);
    color: var(--primary-orange);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary-orange);
    color: var(--dark-black);
    transform: translateY(-3px);
}

/* Section Styles */
.badagamuwa-section {
    padding: 80px 0;
}

.badagamuwa-section.dark {
    background: var(--dark-black);
    color: white;
}

.badagamuwa-section.light {
    background: var(--dark-black);
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-black);
}

.badagamuwa-section.light .section-title h2 {
    color: white;
}

.badagamuwa-section.dark .section-title h2 {
    color: white;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 20px auto 0;
}

/* Info Section */
.info-section {
    background: rgba(255, 140, 0, 0.1);
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--primary-orange);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.info-section h3 {
    color: var(--primary-orange);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-section p {
    color: #ddd;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Amenities List */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.amenity-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 10px;
    border-left: 5px solid var(--primary-orange);
    border-top: 2px solid rgba(255, 140, 0, 0.3);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.amenity-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.25) 0%, rgba(255, 140, 0, 0.1) 100%);
}

.amenity-item:hover::before {
    right: -20px;
    background: rgba(255, 140, 0, 0.2);
}

.badagamuwa-section.light .amenity-item {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 140, 0, 0.05) 100%);
    color: white;
}

.amenity-item i {
    font-size: 2.2rem;
    color: var(--primary-orange);
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.amenity-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #FFB84D;
}

.amenity-item span {
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

/* Feature Box */
.feature-box {
    background: rgba(255, 140, 0, 0.1);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-orange);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
    background: rgba(255, 140, 0, 0.15);
}

.feature-box h3 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-box p {
    color: #ddd;
    line-height: 1.8;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

/* Future Plans */
.future-plans {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    padding: 50px;
    border-radius: 8px;
    margin-top: 30px;
}

.future-plans h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.plan-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 5px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.plan-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.plan-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.plan-item h4 {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 140, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
}

/* Image Card */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    height: 350px;
    margin-bottom: 30px;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 30px;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* CTA Section */
.cta-section {
    background: var(--dark-black);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-orange);
}

.cta-section p {
    color: #ddd;
    font-size: 1.2rem;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-btn:hover {
    background: var(--dark-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

/* Future Plan Cards */
.future-plan-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 140, 0, 0.05) 100%);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.future-plan-card:hover {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.25) 0%, rgba(255, 140, 0, 0.1) 100%);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

.plan-icon {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.future-plan-card:hover .plan-icon {
    background: rgba(255, 140, 0, 0.2);
    transform: scale(1.1) rotate(10deg);
}

.future-plan-card h4 {
    font-size: 1.5rem;
    color: white;
    margin: 20px 0 15px;
    font-weight: 700;
}

.future-plan-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.plan-badge {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
}

/* Detailed Information Section */
.info-box {
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box p {
    color: #ddd;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box p::first-letter {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .badagamuwa-hero h1 {
        font-size: 2rem;
    }

    .badagamuwa-hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding: 30px;
    }

    .feature-box {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .badagamuwa-hero {
        height: 350px;
    }

    .badagamuwa-hero h1 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .badagamuwa-hero-content {
        padding: 20px;
    }
}
