/* Custom Styles for Akasa Landing Page */

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}


/* --- High-End Responsive Hero Logic --- */

#home {
    /* Uses Dynamic Viewport Height to account for mobile browser address bars */
    min-height: 100vh;
    min-height: 100dvh; 
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#home video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;  Critical: Keeps video from stretching 
    z-index: 0;
}

/* Mobile-Specific Refinement */
@media (max-width: 768px) {
    #home {
        /* Adds more top padding on mobile so the logo doesn't overlap text */
        padding-top: 120px;
        padding-bottom: 60px;
        height: auto; /* Allows section to grow if form is long */
        min-height: 100dvh;
    }
    
    .glass {
        /* Slightly more opaque on mobile for better readability */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    }
    
 .glass {
    background-color: rgba(0, 0, 0, 0.5) !important; /* Change this to your preferred "lite" color */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}
}
/* Ensure inputs are visible over the dynamic background */
input {
    color: white !important;
}

input:focus {
    background: rgba(255, 255, 255, 0.3);
}

header {
    /* Ensures the backdrop blur works smoothly across all browsers */
/*    backdrop-filter: blur(12px);*/
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Fix for the Logo Container */
header .shrink-0 {
    /* Adds a subtle inner shadow to the logo box for a 3D premium feel */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

/* Mobile Text Alignment Fix */
@media (max-width: 767px) {
    header span.text-lg {
        font-size: 1.1rem; /* Slightly smaller on mobile to prevent crowding */
    }
    
    header .container {
        /* Ensures elements don't touch the very edge of the phone screen */
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Hover effect for Nav Links */
header nav a {
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C5A059;
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}



/* Smooth Navigation Active State */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C5A059;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/*Footer*/
/* Styling additions for the premium aesthetic */
body {
    font-family: 'Inter', sans-serif;
}

/* Enhances contrast and smooths fonts on dark backgrounds */
footer {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle inner glow for inputs for a smooth texture */
footer input {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slight lift effect on buttons */
footer button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.15);
}

/*Amenities*/
.amenities-section {
    background-color: #f8f7f2;
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.amenities-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.amenities-header {
    text-align: center;
    margin-bottom: 70px;
}

.amenities-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a3b3a; /* Dark Teal from image */
    margin-bottom: 20px;
}

.amenities-subtitle {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
}

.amenities-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.amenities-image-box {
    flex: 1.2;
    position: relative;
}

.amenities-image-box img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.impression-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
}

.amenities-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 20px;
}

.amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.amenity-icon {
    width: 32px;
    height: 32px;
    color: #000;
    stroke-width: 1.2px; /* Fine line style */
    margin-bottom: 15px;
}

.amenity-label {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 100px;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
    .amenities-grid { grid-template-columns: repeat(3, 1fr); }
    .amenities-layout { flex-direction: column; }
    .amenities-image-box { width: 100%; }
}

@media (max-width: 640px) {
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-title { font-size: 2.5rem; }
}

/* ADD-ON CSS FOR BETTER MOBILE LAYOUT */

/* 1. Prevent the header from pushing content too far down on mobile */
@media (max-width: 768px) {
    #home {
        min-height: auto; /* Remove the force-height on mobile */
        padding-top: 120px; /* Adjust based on your header height */
        padding-bottom: 60px;
    }

    /* Make the title slightly smaller so it doesn't break poorly */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }

    /* Center align mobile features */
    .flex.flex-wrap {
        justify-content: center;
    }
}

/* 2. Glassmorphism refinement for smaller screens */
/*Contact form bg*/
.glass {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* 3. Smooth scrolling offset fix */
:target {
    scroll-margin-top: 100px;
}



/* Container for the Grid */
.amenities-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
}

.amenity-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* The Glass Rounded Circle */
/*.icon-circle {*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
    
    
    /* Rounded Corners (Circle) */
    border-radius: 50%;
    
    /* Premium Border & Shadow */
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* Icon size inside the circle */
.icon {
    width: 28px;
    height: 28px;
    color: #1a3b3a; /* Matching your theme teal */
    stroke-width: 1.5px;
}

/* Hover Effect */
.amenity-item:hover .icon-circle {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    border-color: #C5A059; /* Gold accent on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.amenity-item span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    max-width: 110px;
}
/*Gallery*/
.gallery-section {
    overflow: hidden;
}

.gallery-headline {
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Swiper Sizing */
.gallery-swiper {
    padding: 50px 0 !important; /* Space for the zoom effect */
}

.swiper-slide {
    transition: all 0.5s ease;
    filter: grayscale(100%) blur(2px);
    opacity: 0.4;
    transform: scale(0.85); /* Side images are smaller */
}

.swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* The HIGHLIGHTED Middle Slide */
.swiper-slide-active {
    filter: grayscale(0%) blur(0px);
    opacity: 1;
    transform: scale(1.1); /* Middle image zooms in */
    z-index: 10;
}

/* Custom Gold Arrows */
.swiper-button-next, .swiper-button-prev {
    color: #C5A059 !important;
}

.swiper-pagination-bullet-active {
    background: #C5A059 !important;
}

/*Table*/
/* style.css */

/* Basic Reset */


/* Section Styling */
.price-list-section {
    padding: 60px 0;
    text-align: center;
}

.container {
    width: auto;
    margin: 0 auto;
    padding: 0 20px;

}

/* Headings */
.section-title {
    font-family: 'Playfair Display', serif; /* Elegant font for title */
    font-size: 32px;
    font-weight: 500;
    color: #fffff; /* Dark blue/green from original image */
    margin-bottom: 10px;
    width: 100%;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* Table Container for potential responsiveness */
.table-container {
    overflow-x: auto;
}

/* Table Styling */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: black;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Table Header */
.price-table thead th {
    font-weight: 600;
    font-size: 12px;
    color: #1a3b4f;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 15px;
    background-color: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    text-align: left; /* Align headers left, like text-columns */
}

/* Center-align specific columns if needed (e.g., Action) */
.price-table thead th:last-child,
.price-table tbody td:last-child {
    text-align: center;
}

/* Table Body */
.price-table tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    text-align: left;
}

/* Project Column Styling */
.project-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #1a3b4f;
}

.project-id {
    display: block;
    font-size: 12px;
    color: #888;
}

/* Size/Type Column Styling */
.space-type {
    display: block;
    font-weight: 500;
    color: #444;
}

.space-size {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

/* Price Column Styling */
.price-value {
    font-family: 'Playfair Display', serif; /* Same as heading for elegance */
    font-weight: 500;
    font-size: 15px;
    color: #1a3b4f;
    text-transform: uppercase; /* For "ON REQUEST" */
}

/* Button Styling */
.enquire-btn {
    background-color: #2c4a5c; /* Dark blue from original image */
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.enquire-btn:hover {
    background-color: #1e3340; /* Darker shade on hover */
}


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

/* Offset for the sticky header so it doesn't cover section titles */
section {
    scroll-margin-top: 80px; 
}
/* --- Success Popup Styling --- */
/*Contact form glass popup*/
.glass-popup {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes scaleUp {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes bounceOnce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.animate-fadeIn { animation: fadeIn 0.4s ease forwards; }
.animate-fadeOut { animation: fadeOut 0.3s ease forwards; }
.animate-scaleUp { animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.animate-bounceOnce { animation: bounceOnce 0.6s ease-in-out; }


/* --- Squeezed Marquee Logic --- */

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    /* Increased speed for a smoother panoramic feel */
    animation: scrollSqueezed 25s linear infinite;
}

.marquee-img-squeezed {
    height: 160px; /* Squeezed height for mobile */
    width: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.2); /* Subtle Gold border */
    filter: brightness(0.7) contrast(1.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.marquee-img-squeezed:hover {
    filter: brightness(1) contrast(1);
    border-color: #C5A059;
    transform: scale(1.05);
    z-index: 10;
}

/* Responsive Desktop Squeeze */
@media (min-width: 768px) {
    .marquee-img-squeezed {
        height: 220px; /* Panoramic height for desktop */
        width: 450px;
    }
}

@keyframes scrollSqueezed {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 1rem)); } /* 1rem matches the gap-4 */
}


/* Pause the marquee animation on mouse hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
    cursor: pointer;
}


/* Custom Card Effects */
.group:hover .absolute.inset-0 {
    background: linear-gradient(to top, rgba(197, 160, 89, 0.4), transparent);
    transition: background 0.5s ease;
}

/* Glassmorphism utility */
.backdrop-blur-md {
        background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}