/* ================================
   AIORE WAY - Magazine Website Styles
   ================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #8b7355;
    --text-light: #ffffff;
    --text-dark: #2c2c2c;
    --background-light: #f9f9f9;
    --background-dark: #0a0a0a;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.4);
}

/* ================================
   PRELOADER
   ================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.preloader-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.preloader-tagline {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: var(--accent-color);
    font-size: 0.95rem;
    letter-spacing: 1px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Mobile preloader adjustments */
@media screen and (max-width: 768px) {
    .preloader-logo {
        width: 80px;
    }
    
    .preloader-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .preloader-tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .loader-text {
        font-size: 0.85rem;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: var(--text-dark);
    line-height: 1.8;
    letter-spacing: 0.3px;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Container */
.container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ================================
   NAVIGATION BAR
   ================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-medium);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    margin: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin: 0;
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 80%;
}

/* ================================
   FLIPBOOK CONTAINER
   ================================ */
.flipbook-container {
    perspective: 2000px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

#flipbook {
    width: 1200px;
    height: 800px;
    max-width: 90vw;
    max-height: calc(100vh - 200px);
    margin: 0 auto;
    box-shadow: 0 20px 60px var(--shadow-heavy);
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

#flipbook.ready {
    opacity: 1;
}

.page {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.page::-webkit-scrollbar {
    width: 6px;
}

.page::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.page::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.page::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ================================
   COVER PAGE
   ================================ */
.cover-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
    position: relative;
    overflow: hidden;
}

.cover-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.cover-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
    z-index: 1;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.cover-text {
    position: relative;
    z-index: 2;
}

.magazine-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.cover-tagline {
    margin: 40px 0;
    padding: 20px 40px;
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.cover-tagline p {
    color: var(--text-light);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 10px 0;
}

.edition {
    font-size: 0.9rem !important;
    color: var(--accent-color) !important;
}

.cover-features {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.cover-features span {
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* ================================
   CONTENT PAGES
   ================================ */
.content-page {
    background: white;
    padding: 60px;
}

.page-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto 30px;
}

.text-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    max-height: 100%;
}

.text-content::-webkit-scrollbar {
    width: 6px;
}

.text-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.text-content::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0.3px;
    color: #333;
}

.text-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Highlight Boxes */
.highlight-box, .feature-box, .info-box {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
    margin: 25px 0;
    border-radius: 8px;
}

.highlight-box h3, .feature-box h3, .info-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.stat-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.service-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.service-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Team Section */
.team-section {
    margin-top: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 10px;
    color: white;
}

.team-member h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
}

.cta-box p {
    margin: 10px 0;
    color: white;
}

/* ================================
   PROPERTY PAGES
   ================================ */
.property-page {
    background: white;
    padding: 0;
}

.property-showcase {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-image {
    position: relative;
    height: 45%;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.property-details {
    padding: 40px;
    flex: 1;
    overflow: visible;
}

.property-details::-webkit-scrollbar {
    width: 6px;
}

.property-details::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.property-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.property-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.property-specs span {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.property-specs strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.property-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.property-features h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-features ul {
    list-style: none;
    padding: 0;
}

.property-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.property-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.btn-apply {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-info {
    margin: 30px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    max-width: 100%;
    overflow: hidden;
}

.contact-item {
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 10px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
}

.contact-item a:hover {
    text-decoration: underline;
}

.website-info {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.website-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.process-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.process-list li {
    counter-increment: step-counter;
    padding: 15px 0;
    padding-left: 50px;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.process-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 10px;
}

.btn-primary {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ================================
   BACK COVER
   ================================ */
.back-cover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.back-cover-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
}

.back-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 0;
}

.back-text {
    position: relative;
    z-index: 1;
}

.back-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.back-tagline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.back-info {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.back-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 10px 0;
    letter-spacing: 1px;
}

.back-contact {
    margin: 40px 0;
}

.back-contact p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 10px 0;
}

.back-footer {
    margin-top: 60px;
}

.back-footer p {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin: 5px 0;
}

/* ================================
   FLIP CONTROLS
   ================================ */
.flip-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    flex-shrink: 0;
}

.flip-btn {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.flip-btn .btn-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.flip-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.flip-btn:active::before {
    width: 300px;
    height: 300px;
}

.flip-btn:hover:not(:disabled),
.flip-btn:active:not(:disabled) {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.flip-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.flip-btn:active:not(:disabled) {
    transform: translateY(0);
}

@media (hover: none) and (pointer: coarse) {
    .flip-btn:hover:not(:disabled) {
        transform: none;
    }
}

.page-indicator {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

/* ================================
   PROGRESS DOTS
   ================================ */
.page-progress {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot:hover {
    background: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.progress-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--secondary-color);
}

.progress-dot::before {
    content: attr(data-page);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.progress-dot:hover::before {
    opacity: 1;
}

@media screen and (min-width: 992px) {
    .page-progress {
        display: block;
    }
}

/* ================================
   MODALS
   ================================ */
.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.85);
    backdrop-filter: blur(8px);
}

/* Property Full View Modal */
.property-full-view {
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
}

.property-full-header {
    position: relative;
    height: 400px;
    background: #000;
    overflow: hidden;
}

.property-full-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-full-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.property-full-content {
    padding: 40px;
}

.property-full-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-full-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.property-full-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 15px;
}

.property-meta-item {
    text-align: center;
}

.property-meta-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.property-meta-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.property-full-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 30px 0;
}

.property-full-features {
    margin: 40px 0;
}

.property-full-features h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    padding: 15px 20px;
    background: white;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-item::before {
    content: '✓';
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.property-3d-view {
    margin: 40px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 30px;
    border-radius: 15px;
}

.property-3d-view h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.view-3d-container {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.view-3d-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.view-3d-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 115, 85, 0.1) 100%);
    color: white;
}

.view-3d-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.view-3d-placeholder-text {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.view-3d-placeholder-subtext {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.property-video-section {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    text-align: center;
}

.property-video-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.property-video-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.fztv-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.btn-watch-video {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-watch-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.btn-watch-video::before {
    content: '▶ ';
    margin-right: 10px;
}

.property-action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.property-action-buttons .btn-apply {
    flex: 1;
    min-width: 250px;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px var(--shadow-heavy);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    backdrop-filter: blur(5px);
}

.close-modal:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    color: white;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: 400 !important;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-secondary {
    padding: 12px 30px;
    background: #f5f5f5;
    color: var(--text-dark);
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

.form-actions .btn-primary {
    margin: 0;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media screen and (max-width: 1400px) {
    #flipbook {
        width: 1000px;
        height: 667px;
    }
}

@media screen and (max-width: 1200px) {
    #flipbook {
        width: 900px;
        height: 600px;
    }
    
    .magazine-title {
        font-size: 4.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 992px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    #flipbook {
        width: 700px;
        height: 467px;
    }
    
    .content-page {
        padding: 40px;
    }
    
    .services-grid,
    .team-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .magazine-title {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow: hidden;
        touch-action: pan-y;
        width: 100vw;
        height: 100vh;
    }

    .container {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        padding: 0;
    }

    .flipbook-container {
        flex: 1;
        padding: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-height: calc(100vh - 180px);
    }

    #flipbook {
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 200px) !important;
        max-height: calc(100vh - 200px) !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    #flipbook * {
        max-width: 100% !important;
    }
    
    #flipbook .turn-page,
    #flipbook .p-temporal {
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 200px) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .page {
        width: 100vw !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        position: relative !important;
        box-sizing: border-box !important;
        padding-bottom: 60px !important;
    }
    
    .flip-controls {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        gap: 10px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        justify-content: center;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1000;
        flex-shrink: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .flip-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        gap: 4px;
        flex: 0 1 auto;
        min-width: 80px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    /* Hide button labels on mobile */
    .flip-btn .btn-label {
        display: none;
    }
    
    .flip-btn span[aria-hidden="true"] {
        font-size: 1.3rem;
    }
    
    .page-indicator {
        font-size: 0.9rem;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }
    
    .content-page {
        padding: 20px 15px;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .page-content {
        height: 100%;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .text-content {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 10px;
        padding-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
        flex: 1;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: contain;
        touch-action: pan-y !important;
        position: relative;
        max-height: 100%;
    }
    
    .page-title {
        font-size: 1.8rem;
        flex-shrink: 0;
        margin-bottom: 10px;
    }
    
    .divider {
        flex-shrink: 0;
        margin-bottom: 15px;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .text-content {
        font-size: 0.95rem;
    }
    
    .back-cover-content {
        padding: 30px 20px;
        justify-content: flex-start;
        padding-top: 40px;
    }
    
    .back-text h2 {
        font-size: 2.5rem;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
    
    .back-tagline {
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }
    
    .back-info {
        margin: 25px 0;
        padding: 15px 0;
    }
    
    .back-info p {
        font-size: 0.95rem;
    }
    
    .back-contact {
        margin: 25px 0;
    }
    
    .back-contact p {
        font-size: 0.9rem;
    }
    
    .back-footer {
        margin-top: 30px;
    }
    
    .back-footer p {
        font-size: 0.75rem;
    }
    
    .services-grid,
    .team-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .magazine-title {
        font-size: 2.5rem;
    }
    
    .cover-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .property-specs {
        gap: 10px;
        font-size: 0.85rem;
    }
    
    .property-showcase {
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .property-image {
        height: 35%;
        min-height: 180px;
        max-height: 250px;
        flex-shrink: 0;
    }
    
    .property-details {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        flex: 1;
        -webkit-overflow-scrolling: touch;
    }
    
    .property-title {
        font-size: 1.6rem;
    }
    
    .property-price {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    body {
        overflow: hidden;
        touch-action: pan-y;
        width: 100vw;
        height: 100vh;
    }

    .container {
        padding: 0;
        height: 100vh;
        width: 100vw;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .navbar {
        padding: 8px 10px;
        margin: 0;
        flex-direction: column;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .flipbook-container {
        flex: 1;
        padding: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-height: calc(100vh - 170px);
    }

    #flipbook {
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 190px) !important;
        max-height: calc(100vh - 190px) !important;
        min-height: 350px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    #flipbook * {
        max-width: 100% !important;
    }
    
    #flipbook .turn-page,
    #flipbook .p-temporal {
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 190px) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .logo {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }
    
    .logo-image {
        height: 60px;
        width: auto;
    }
    
    .logo-text {
        align-items: center;
        text-align: center;
    }
    
    .logo h1 {
        display: none;
    }
    
    .logo .tagline {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-top: 0;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .content-page {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .text-content h3 {
        font-size: 1.4rem;
    }
    
    .magazine-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .cover-tagline p {
        font-size: 1rem;
    }
    
    .cover-features span {
        font-size: 0.85rem;
    }
    
    .property-details {
        padding: 20px 15px;
    }
    
    .property-image {
        height: 40%;
    }
    
    .property-title {
        font-size: 1.4rem;
    }
    
    .property-price {
        font-size: 1.8rem;
    }
    
    .property-features li {
        font-size: 0.85rem;
    }
    
    .flip-controls {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        justify-content: space-around;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
        flex-shrink: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .flip-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        flex: 0 1 auto;
        min-width: 70px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .page-indicator {
        font-size: 0.85rem;
        width: auto;
        text-align: center;
        order: 0;
        padding: 6px 12px;
        flex: 0 1 auto;
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }
    
    .modal-content {
        padding: 20px 15px;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }

    .close-modal {
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.8);
        z-index: 100;
    }

    .property-full-view {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .property-3d-view {
        padding: 20px;
    }
    
    .view-3d-container {
        margin: 0;
    }

    .property-full-header {
        height: 250px;
    }

    .property-full-content {
        padding: 20px 15px;
    }

    .property-full-title {
        font-size: 1.8rem;
    }

    .property-full-price {
        font-size: 2rem;
    }

    .property-full-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .property-meta-value {
        font-size: 1.2rem;
    }

    .property-full-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .property-video-section {
        padding: 30px 20px;
    }

    .btn-watch-video {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .property-action-buttons {
        flex-direction: column;
    }

    .property-action-buttons .btn-apply {
        width: 100%;
        min-width: auto;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 10px;
    }
}

/* ================================
   PRINT STYLES (for PDF export)
   ================================ */
@media print {
    body {
        background: white;
    }
    
    .preloader,
    .navbar,
    .flip-controls,
    .page-progress,
    .btn-apply,
    .btn-primary,
    .btn-watch-video {
        display: none !important;
    }
    
    .page {
        page-break-after: always;
        box-shadow: none;
        background: white;
        color: black;
        width: 100%;
        height: auto;
        position: static !important;
    }
    
    .page-content {
        overflow: visible !important;
        height: auto !important;
    }
    
    .text-content {
        overflow: visible !important;
        height: auto !important;
    }
    
    .property-card {
        page-break-inside: avoid;
    }
}

/* ================================
   ACCESSIBILITY ENHANCEMENTS
   ================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible,
.progress-dot:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .page {
        border: 2px solid currentColor;
    }
    
    .flip-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #flipbook {
        transition: none !important;
    }
}
