/* Dark Theme Base */
.project-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    background-color: #0a0a0a;
    color: #e5e5e5;
    padding: 2rem 1rem;
}

/* Typography Hierarchy */
.project-info h1 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.project-info h2 {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.project-info h3 {
    font-size: 1.75rem;
    color: #FFD700;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
}

/* Swiper Gallery Enhancements */
.swiper-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    height: 70vh; /* Default height for mobile */
}

@media (min-width: 768px) {
    .swiper-container {
        height: 85vh; /* Taller height for tablets and desktops */
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #FFD700;
    border-radius: 50%;
    padding: 20px;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}


.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

/* Project Info Section */
.project-info {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.project-info {
    position: relative;
    z-index: 1;
}

/* Details List Styling */
.details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    padding: 0.1rem;
    background-color: #262626;
    border-radius: 12px;
    border-left: 4px solid #FFD700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.1);
}

.detail-item:hover::before {
    left: 100%;
}

.detail-item h4 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

.detail-item h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
}

.detail-item p {
    color: #e5e5e5;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.detail-item .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: #FFD700;
}

/* Contact Form Styling */
.contact-form-container {
    position: sticky;
    top: 2rem;
    background: linear-gradient(145deg, #1e1e1e, #121212);
    border-radius: 16px;
    padding: 0.01rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
}

.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
    transition: all 0.3s ease;
    color: #e5e5e5;
}

.contact-form-container select option {
    background-color: #262626;
    color: #e5e5e5;
}

.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.contact-form-container button {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form-container button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.contact-form-container button:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.contact-form-container button:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Responsive Layout */
@media (min-width: 1279px) {
    .project-container {
        flex-direction: row;
        gap: 1rem;
    }

    .project-info {
        flex: 2;
    }

    .contact-form-container {
        flex: 1;
        height: fit-content;
    }
}

@media (max-width: 1278px) {
    .project-container {
        flex-direction: column;
    }

    .contact-form-container {
        position: static;
        margin-top: 2rem;
    }
}

/* Transitions and Hover Effects */
.project-info,
.contact-form-container,
.detail-item {
    transition: all 0.3s ease;
}

.project-info:hover,
.contact-form-container:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.1);
}

/* Amenities Section Enhancements */
.amenity-card {
    min-height: 160px;
    backdrop-filter: blur(8px);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.15);
}

.icon-wrapper {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.amenity-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amenity-card:hover::before {
    opacity: 1;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .project-info h1 {
        font-size: 2rem;
    }

    .project-info h2 {
        font-size: 1.75rem;
    }

    .details-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        padding: 15px;
    }
}
