/* Fonts */
:root {
    --primary-color: #0F2C59;
    /* Deep Navy Blue */
    --secondary-color: #DAC0A3;
    /* Champagne Gold */
    --accent-color: #F8F0E5;
    /* Off White */
    --text-dark: #1A1A1A;
    --text-light: #F9F9F9;
    --text-gray: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--accent-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-block {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #0a1f40;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
}

.btn-block:hover {
    background-color: #cbb092;
}


/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links .btn-primary {
    padding: 10px 25px;
    color: #fff;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url("image/prism-city-blue-gallery-5.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 0;
    /* Override section spacing if needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 44, 89, 0.7), rgba(15, 44, 89, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--secondary-color);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.row {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
    /* Ensure row takes full container width */
}

.col-text,
.col-img {
    flex: 1;
    min-width: 300px;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.features-list i {
    color: var(--secondary-color);
}

.col-img {
    position: relative;
}

.col-img img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

.amenity-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--secondary-color);
}

.amenity-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.amenity-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.amenity-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* CTA Banner */
.cta-section {
    background-image: url("image/prism-city-blue-cta-bg.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 44, 89, 0.85);
}

.cta-section .relative {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact */
.mb-50 {
    margin-bottom: 30px;
    /* Reduced gap between rows */
}

.contact-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px;
    width: 100%;
    align-items: stretch !important;
}

/* Treat the boxes themselves as the columns now */
.contact-info-box,
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

/* Contact Info Box - New Card Style */
.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    /* content alignment */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically if space allows */
}

.contact-info-box .section-title::after {
    margin: 10px 0 0;
    /* Left align underline */
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    /* Removed top border for alignment match with image */
}

.contact-footer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 350px;
    /* Ensure map has presence */
}

/* Full Width Map Container */
.map-container-full {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-content {
    margin-bottom: 20px;
}

.project-by {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-logo {
    height: 60px;
    /* Adjust as needed */
    margin: 0 auto;
    filter: brightness(0) invert(1);
    /* Make it white if it's a dark logo, or remove if original is fine */
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
        color: var(--primary-color);
        font-size: 1.8rem;
    }

    .row {
        flex-direction: column;
    }

    .col-img {
        margin-top: 30px;
    }

    .contact-row {
        flex-direction: column-reverse;
    }

    .contact-form-wrapper {
        width: 100%;
        margin-bottom: 40px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map Container */
.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideDown 0.4s;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 30px 20px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.modal-form {
    padding: 30px;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Nav Actions (Button + Hamburger) */
nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20b858;
    transform: scale(1.1);
    color: white;
}

.whatsapp-float i {
    margin-top: 2px;
    /* Visual adjustment */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-btn {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100%;
        display: block;
        margin: 0;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Price & Cost Sheet Section Styles */
.cost-sheet-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.cost-sheet-preview {
    transition: var(--transition);
}

.cost-sheet-preview.blurred {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transform: scale(1.02);
}

.cost-sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 44, 89, 0.3);
    z-index: 10;
    transition: var(--transition);
}

.project-details-container {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.project-table th,
.project-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.project-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.project-table tr:hover {
    background-color: #f9f9f9;
}

.project-table td:nth-child(3) {
    font-weight: bold;
    color: var(--primary-color);
}

.mt-20 {
    margin-top: 20px;
}

.small {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}