/* === Stamford Place Brand Variables === */
:root {
    --terracotta: #8b3f2b; /* PMS 7600 C */
    --warm-taupe: #d1c6bd; /* PMS 7534 C */
    --olive-green: #3d4a1e; /* PMS 5747 C */
    --burnished-brass: #946348; /* PMS 10368 C */
    --mono-black: #231f20;
    --mono-grey: #4d4d4f;
    --mono-light-grey: #d1d3d4;
    --mono-olive-grey: #939598;
    --mono-brass-grey: #d1d304;
    --mono-bg: #f1f2f2;
}

@font-face {
    font-family: TimelessHeritage;
    src: url('/fonts/timeless-heritage-font/TimelessHeritage.otf');
}

/* === Font Imports === */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

html, body {
    background: var(--mono-bg) !important;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--mono-black);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--mono-black);
    background: var(--mono-bg);
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background: var(--terracotta);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Logo & Title */
.logo-title {
    background: #fff;
    padding: 24px 0 0 0;
    text-align: center;
    border-bottom: 6px solid var(--terracotta);
}

    .logo-title .brand-title {
        font-family: 'Lora', serif;
        font-size: 2.2rem;
        color: var(--burnished-brass);
        letter-spacing: 2px;
        font-weight: 600;
    }

/* Hero Section */
.hero-section {
    background: var(--warm-taupe);
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-section .hero-image {
        width: 380px;
        height: 220px;
        object-fit: cover;
        border-radius: 4px;
        box-shadow: 0 2px 12px #0002;
    }

    .hero-section .hero-text {
        font-family: 'Lora', serif;
        font-size: 2rem;
        color: var(--burnished-brass);
        font-weight: 600;
        margin-bottom: 12px;
        text-align: left;
    }

/* Welcome Section */
.welcome-section {
    background: var(--terracotta);
    color: #fff;
    padding: 32px 0;
    text-align: center;
}

    .welcome-section .welcome-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 12px;
        font-family: 'Poppins', Arial, sans-serif;
    }

    .welcome-section .welcome-desc {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.05rem;
        line-height: 1.7;
        font-family: 'Lora', serif;
    }

/* Countdown Section */
.countdown-section {
    background: #fff;
    padding: 40px 0;
    text-align: center;
}

    .countdown-section .countdown-title {
        font-family: 'Lora', serif;
        font-size: 1.2rem;
        color: var(--terracotta);
        font-weight: 600;
        margin-bottom: 18px;
    }

#countdown {
    font-size: 2.2rem;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--mono-black);
    font-weight: 600;
    display: flex;
    justify-content: center;
    gap: 18px;
}

    #countdown div {
        text-align: center;
    }

    #countdown span {
        font-size: 2.2rem;
        font-weight: 500;
        letter-spacing: 1px;
    }

    #countdown div div {
        font-size: 0.9rem;
        color: var(--burnished-brass);
        font-family: 'Poppins', Arial, sans-serif;
    }

/* Urban Living Section */
.urban-living-section {
    background: var(--mono-bg);
    padding: 40px 0 0 0;
}

    .urban-living-section .section-title {
        font-family: 'Lora', serif;
        font-size: 1.2rem;
        color: var(--terracotta);
        font-weight: 600;
        margin-bottom: 24px;
    }

    .urban-living-section .features-row {
        display: flex;
        gap: 32px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .urban-living-section .feature-box {
        background: #fff;
        padding: 24px;
        width: 300px;
        min-height: 340px;
        box-shadow: 0 2px 8px #0001;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .urban-living-section .feature-box .feature-reveal {
            background: var(--burnished-brass);
            color: #fff;
            font-size: 1.3rem;
            padding: 32px 0;
            width: 100%;
            margin-bottom: 18px;
            font-family: 'Poppins', Arial, sans-serif;
            letter-spacing: 1px;
        }

        .urban-living-section .feature-box .feature-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 8px;
            font-family: 'Poppins', Arial, sans-serif;
        }

        .urban-living-section .feature-box .feature-desc {
            font-size: 0.98rem;
            color: var(--mono-black);
            font-family: 'Lora', serif;
        }

/* Collaboration Section */
.collaboration-section {
    background: #fff;
    padding: 40px 0 0 0;
}

    .collaboration-section .section-title {
        font-family: 'Lora', serif;
        font-size: 1.2rem;
        color: var(--terracotta);
        font-weight: 600;
        margin-bottom: 24px;
    }

    .collaboration-section .partners-row {
        display: flex;
        gap: 40px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 32px;
    }

    .collaboration-section .partner-logo {
        height: 40px;
        object-fit: contain;
    }

    .collaboration-section .cta-desc {
        color: var(--burnished-brass);
        font-size: 0.98rem;
        margin-bottom: 18px;
        text-align: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Poppins', Arial, sans-serif;
    }

    .collaboration-section .cta-btn {
        font-family: 'Lora', serif;
        font-size: 1.1rem;
        padding: 8px 36px;
        border-radius: 24px;
        border: 1.5px solid var(--burnished-brass);
        background: #fff;
        color: var(--burnished-brass);
        cursor: pointer;
        transition: background 0.2s;
    }

        .collaboration-section .cta-btn:hover {
            background: var(--burnished-brass);
            color: #fff;
        }

/* Responsive */
@media (max-width: 1100px) {
    .urban-living-section .features-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .urban-living-section .feature-box {
        width: 90%;
        min-width: 260px;
    }
}

@media (max-width: 700px) {
    .logo-title {
        padding: 12px 0 0 0;
    }

    .hero-section {
        padding: 16px 0;
        flex-direction: column;
        gap: 16px;
    }

    .urban-living-section .features-row {
        gap: 1.2rem;
    }

    .urban-living-section .feature-box {
        min-height: 340px;
    }
}

/* Global Styles */
html, body {
    background: #fff !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #3a2c1a;
    background: #fff;
    overflow-x: hidden;
}

/* Coming Soon Container */
.coming-soon-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 40px 0;
    background: #fff;
}

    .coming-soon-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(0,0,0,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.5;
        pointer-events: none;
    }

/* Hero Section */
.hero-section {
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(58,44,26,0.08);
    padding: 60px 0 0 0;
    margin: 40px 0 0 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

/* Main Title */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #6d4c2b;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
}

/* Subtitle */
.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #a98c6d;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
}

/* Property Description */
.property-description {
    margin-bottom: 2.5rem;
    text-align: center;
}

    .property-description p {
        font-size: 1.1rem;
        color: #3a2c1a;
        line-height: 1.7;
        max-width: 600px;
        margin: 0 auto;
        font-family: 'Inter', Arial, sans-serif;
        text-align: center;
    }

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 700px;
    height: 320px;
    background: #e5ded6 url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    border-radius: 18px;
    margin: 0 auto 2.5rem auto;
    box-shadow: 0 4px 24px rgba(58,44,26,0.10);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

    .hero-image::after {
        content: 'TO BE REVEALED';
        display: block;
        background: rgba(125, 90, 60, 0.85);
        color: #fff;
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        letter-spacing: 2px;
        padding: 0.7rem 2.2rem;
        border-radius: 0 12px 0 0;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 2;
    }

/* Countdown Section */
.countdown-section {
    margin-bottom: 3.5rem;
    text-align: center;
}

    .countdown-section h2 {
        font-family: 'Playfair Display', serif;
        color: #7c4b2a;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
        font-weight: 700;
        text-align: center;
    }

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #3a2c1a;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
}

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

.countdown-number {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.countdown-label {
    font-size: 0.9rem;
    color: #a98c6d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
    font-family: 'Inter', Arial, sans-serif;
    text-align: center;
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 10px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }

    .hero-image {
        height: 200px;
    }
}

/* Features Grid */
.features-grid {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.feature-item {
    background: #f3f0ed;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(58,44,26,0.07);
    width: 320px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 2.2rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .feature-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, #2d3748, #4a5568);
    }

    .feature-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

.feature-image {
    width: 100%;
    height: 200px;
    background: #e5ded6 url('https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=400&q=80') center/cover no-repeat;
    border-radius: 16px 16px 0 0;
    margin-bottom: 1.2rem;
    position: relative;
}

.feature-item.revealed .feature-image {
    background: #e5ded6 url('https://images.unsplash.com/photo-1512918728675-ed5a9ecdebfd?auto=format&fit=crop&w=400&q=80') center/cover no-repeat;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(125, 90, 60, 0.85);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
}

.feature-item.revealed .feature-overlay {
    display: none;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    color: #6d4c2b;
    font-size: 1.1rem;
    margin: 1.2rem 0 0.7rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.feature-item p {
    color: #3a2c1a;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 1.2rem;
    font-family: 'Inter', Arial, sans-serif;
    text-align: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 2.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: #7c4b2a;
    margin-bottom: 1.2rem;
    font-family: 'Inter', Arial, sans-serif;
    text-align: center;
}

.cta-button {
    background: #fff;
    color: #7c4b2a;
    border: 2px solid #7c4b2a;
    padding: 0.7rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(58,44,26,0.07);
    text-align: center;
}

    .cta-button:hover {
        background: #7c4b2a;
        color: #fff;
        border-color: #7c4b2a;
    }

    .cta-button:active {
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 1100px) {
    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .feature-item {
        width: 90%;
        min-width: 260px;
    }
}

@media (max-width: 700px) {
    .hero-section {
        padding: 30px 0 0 0;
    }

    .hero-content {
        padding: 0 10px;
    }

    .main-title {
        font-size: 2rem;
    }

    .features-grid {
        gap: 1.2rem;
    }

    .feature-item {
        min-height: 340px;
    }

    .hero-image {
        height: 180px;
    }
}

/* Animation for countdown numbers */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.countdown-number {
    animation: pulse 2s infinite;
}

/* Focus styles for accessibility */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #4a5568;
}

.cta-button:focus {
    outline: 2px solid #4a5568;
    outline-offset: 2px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Luxury Stamford Place Styles */
.luxury-section-title {
    font-family: 'Playfair Display', serif;
    color: #7c4b2a;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 3.5rem 0 2rem 0;
    font-weight: 700;
    text-align: center;
}

/* Partner Logos */
.partner-row {
    background: #ede8e2;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    padding: 2.2rem 1rem;
    margin: 2.5rem 0 3.5rem 0;
    text-align: center;
}

.partner-logo {
    max-height: 48px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.2);
    opacity: 0.85;
}

#partnersImg {
    max-width: 600px;
}

@media (max-width: 700px) {
    #partnersImg {
        max-width: 90%;
    }
}

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.contact-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

.contact-modal-header {
    background: #863b28;
    color: #fff;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    position: relative;
}

    .contact-modal-header h2 {
        margin: 0;
        font-family: 'Poppins', sans-serif;
        font-size: 1.3rem;
    }

.contact-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s;
}

    .contact-modal-close:hover {
        color: #f0f0f0;
    }

.contact-modal-body {
    padding: 30px;
}

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

.contact-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.contact-form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

    .contact-form-input:focus {
        outline: none;
        border-color: #863b28;
        box-shadow: 0 0 0 2px rgba(134, 59, 40, 0.1);
    }

.contact-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
}

    .contact-form-textarea:focus {
        outline: none;
        border-color: #863b28;
        box-shadow: 0 0 0 2px rgba(134, 59, 40, 0.1);
    }

.contact-form-submit {
    background: #863b28;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
    width: 100%;
}

    .contact-form-submit:hover {
        background: #6d2f1f;
    }

    .contact-form-submit:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.validation-error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
    position: relative;
}

    .status-message.success {
        background-color: #e8f5e8;
        color: #2e7d32;
        border: 1px solid #c8e6c9;
        border-left: 4px solid #4caf50;
    }

    .status-message.error {
        background-color: #ffebee;
        color: #c62828;
        border: 1px solid #ffcdd2;
        border-left: 4px solid #f44336;
    }

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

@media (max-width: 600px) {
    .contact-modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .contact-modal-body {
        padding: 20px;
    }
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.toast-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

.toast-notification.success .toast-content {
    border-left-color: #4caf50;
}

.toast-notification.error .toast-content {
    border-left-color: #f44336;
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

    .toast-close:hover {
        color: #666;
    }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.subtitle2 {
    font-size: 2rem;
}
#splitter {
    bottom: 45px;
    border: solid 3px #833d2c;
}


@media (max-width: 480px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast-content {
        padding: 12px 16px;
    }

    #logo {
        width: 400px;
    }
    .subtitle2 {
        font-size: 18px;
    }
    #splitter {
        bottom: 32px;
        border: solid 2px #833d2c;
    }
}
