/* Home Page Styles for Modi Spaces Ganges */

/* Section 1: Banner Slider */
.banner-slider-section {
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
}

.banner-slide {
    position: relative;
    min-height: 500px;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: #fff;
    text-align: center;
    z-index: 10;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner-description:empty {
    display: none;
}

.banner-description p:empty {
    display: none;
}

/* Hide list items and bullets in banner */
.banner-description ul,
.banner-description ol {
    display: none;
}

.banner-description li {
    display: none;
}

/* Hide whitespace-only content */
.banner-description p:only-child:empty::before {
    content: none;
}

.banner-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.banner-btn:hover {
    background-color: #d35400;
}

/* Section 2: Author Section */
.author-section {
    background-image: url('http://localhost/modispacesganges/wp-content/uploads/2026/01/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
}
.author-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(248, 215, 211, 0.7);
    z-index: 0;
}
.author-section .container {
    position: relative;
    z-index: 1;
}

.author-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.author-content-col h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.author-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.author-image-col {
    text-align: center;
}

.author-image-col img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.author-caption {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Section 3: Project Section */
.project-section {
    background-color: #ffc0ac;
    padding: 80px 0;
}

.project-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-image-col img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.project-content-col h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.project-subtitle {
    font-size: 1.5rem;
    color: #e67e22;
    margin-bottom: 20px;
}

.project-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.project-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #e67e22;
    color: #fff;
}

.btn-primary:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background-color: #3498db;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Section 4: Amenities */
.home-amenities-section {
    background-image: url('http://localhost/modispacesganges/wp-content/uploads/2026/01/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}
/* Optional: Add overlay for better text readability */
.home-amenities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(248, 215, 211, 0.85);
    z-index: 0;
}
.home-amenities-section .container {
    position: relative;
    z-index: 1;
}
.home-amenities-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 50px;
    font-weight: bold;
}
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 185px;
    gap: 20px;
    margin-bottom: 40px;
}
/* Masonry layout - Specific positioning for each item */
/* 1st item - Gymnasium (tall, left) */
.amenity-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}
/* 2nd item - Gym Equipment (short, middle-left top) */
.amenity-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
/* 3rd item - Sky Lounge (tall, middle-right) */
.amenity-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / 3;
}
/* 4th item - Building Exterior (tall, right) */
.amenity-item:nth-child(4) {
    grid-column: 4;
    grid-row: 1 / 3;
}
/* 5th item - App-based Smart Parking (short, middle-left bottom) */
.amenity-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}
/* 6th item - Indoor Sports Court (short, left bottom) */
.amenity-item:nth-child(6) {
    grid-column: 1;
    grid-row: 3;
}
/* 7th item - Indoor Area (short, middle-left) */
.amenity-item:nth-child(7) {
    grid-column: 2;
    grid-row: 3;
}
/* 8th item - Versatile Turf Area (tall, right) */
.amenity-item:nth-child(8) {
    grid-column: 3 / 5;
    grid-row: 3;
}
/* Additional items continue in the grid */
.amenity-item:nth-child(9) {
    grid-column: 1;
    grid-row: 4;
}
.amenity-item:nth-child(10) {
    grid-column: 2;
    grid-row: 4;
}
.amenity-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
/* Items without links - no hover effect */
.amenity-item.no-link {
    cursor: default;
}
.amenity-item.no-link:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.amenity-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.amenity-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.amenity-item:hover .amenity-image-wrapper img {
    transform: scale(1.1);
}
/* No zoom effect for items without links */
.amenity-item.no-link:hover .amenity-image-wrapper img {
    transform: scale(1);
}
.amenity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.5);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}
.amenity-item:hover .amenity-overlay {
    background: rgba(139, 69, 19, 0.4);
}
.amenity-title {
    font-size: 2rem;
    color: #fff;
    margin: 0;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.3;
    text-align: center;
    width: 100%;
}
.amenity-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.amenity-arrow svg {
    width: 30px;
    height: 30px;
}
.amenity-arrow svg path {
    stroke: #8B4513;
    stroke-width: 3;
}
.amenity-item:hover .amenity-arrow {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.view-all-amenities {
    text-align: center;
    margin-top: 50px;
}

/* Section 5: Documentary Section */
.documentary-section {
    background-color: #ffc0ac;
    padding: 80px 0;
}

.documentary-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.documentary-item h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
}

/* Section 6: Floor Plans */
.floor-plans-section {
    background-image: url('http://localhost/modispacesganges/wp-content/uploads/2026/01/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
}
.floor-plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(248, 215, 211, 0.85);
    z-index: 0;
}
.floor-plans-section .container {
    position: relative;
    z-index: 1;
}

.floor-plans-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.floor-plans-slider {
    margin-bottom: 40px;
}

.floor-plan-item {
    padding: 20px;
    text-align: center;
}

.floor-plan-image {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.floor-plan-image img {
    max-width: 100%;
    height: auto;
}

.floor-plan-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
}

.floor-plan-cta {
    text-align: center;
    margin-top: 40px;
}

/* Section 7: Addresses */
.addresses-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.address-item {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.address-item:hover {
    transform: translateY(-5px);
}

.address-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.address-icon i {
    font-size: 60px;
    color: #FFB6AD;
}

.address-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.address-details {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.address-details p {
    margin: 5px 0;
}

.address-contact {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.address-item a {
    color: #666;
    text-decoration: none;
}

.address-item a:hover {
    color: #ff6b35;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .author-wrapper,
    .project-wrapper,
    .documentary-wrapper {
        grid-template-columns: 1fr;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    /* Amenities responsive - 2 columns for tablets */
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 15px;
    }
    
    /* Reset all specific positioning for responsive */
    .amenity-item:nth-child(1),
    .amenity-item:nth-child(2),
    .amenity-item:nth-child(3),
    .amenity-item:nth-child(4),
    .amenity-item:nth-child(5),
    .amenity-item:nth-child(6),
    .amenity-item:nth-child(7),
    .amenity-item:nth-child(8),
    .amenity-item:nth-child(9),
    .amenity-item:nth-child(10) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .amenity-title {
        font-size: 1.5rem;
    }
    
    .amenity-arrow {
        width: 50px;
        height: 50px;
        margin-top: 15px;
    }
    
    .amenity-arrow svg {
        width: 25px;
        height: 25px;
    }
    
    .addresses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .author-content-col h2,
    .project-content-col h2 {
        font-size: 2rem;
    }
    
    .project-buttons {
        flex-direction: column;
    }
    
    /* Amenities responsive - Single column for mobile */
    .home-amenities-section {
        padding: 50px 0;
        background-attachment: scroll;
    }
    
    .home-amenities-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .amenity-item {
        border-radius: 12px;
    }
    
    .amenity-overlay {
        padding: 20px;
    }
    
    .amenity-title {
        font-size: 1.3rem;
    }
    
    .amenity-arrow {
        width: 45px;
        height: 45px;
        margin-top: 12px;
    }
    
    .amenity-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    .view-all-amenities {
        margin-top: 30px;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-image-col {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    .address-item {
        background-color: #fff;
        padding: 8px 20px;
    }

    .addresses-section {
        padding: 40px 0;
    }
    


    .home-amenities-section {
        padding: 40px 0;
    }
    
    .home-amenities-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .amenities-grid {
        grid-auto-rows: 220px;
        gap: 12px;
    }
    
    .amenity-title {
        font-size: 1.2rem;
    }
    
    .amenity-overlay {
        padding: 15px;
    }
    
    .amenity-arrow {
        width: 40px;
        height: 40px;
        margin-top: 10px;
    }
    
    .amenity-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Slick Slider Customization */
.slick-prev,
.slick-next {
    z-index: 100;
    width: 50px;
    height: 50px;
}

.slick-prev {
    left: 25px;
}

.slick-next {
    right: 25px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 40px;
}

.slick-dots {
    bottom: 25px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #fff;
}

.slick-dots li.slick-active button:before {
    color: #e67e22;
}


.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}