/* Base Styles */
:root {
    --primary-color: #eabb11;
    --secondary-color: #7a848d;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #69727a;
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/pricna_ulice.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    text-align: center;
}

.services h2 {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
    margin-bottom: 15px;
}

/* Offices Section */
.offices .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.placeholder-img {
    background-color: #e9ecef;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--secondary-color);
}

/* Apartments Section */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.apartment-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0,0.1);
}

.apartment-img {
    height: 200px;
    background-color: #e9ecef;
    position: relative;
}

.apartment-card h3 {
    padding: 20px 20px 10px;
}

.apartment-card p {
    padding: 0 20px 20px;
    color: var(--secondary-color);
}

.apartment-card .btn {
    margin: 0 20px 20px;
    display: inline-block;
}

/* Booking Section */
#booking {
    padding: 60px 0;
}

.booking-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1rem;
    color: var(--secondary-color);
}

.booking-system {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Calendar Styles */
.calendar-container {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.calendar-nav {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.calendar-nav:hover {
    background-color: var(--light-gray);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    padding: 6px 2px;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background-color: var(--light-gray);
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

.calendar-day.disabled {
    color: #ddd;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.today {
    border-color: var(--primary-color);
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

.calendar-day.has-bookings {
    position: relative;
}

.calendar-day.has-bookings::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 3px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.calendar-day.selected.has-bookings::after {
    background-color: white;
}

/* Booking Details */
.booking-details {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.selected-date-display {
    text-align: center;
    padding: 12px;
    background-color: var(--light-gray);
    border-radius: 6px;
    margin-bottom: 15px;
}

.selected-date-display h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.selected-date-display p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

/* Time Slots */
.time-slots-container {
    margin-bottom: 15px;
}

.time-slots-container h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-slots-instruction {
    padding: 12px;
    background-color: #e8f4f8;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.selection-summary {
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 6px;
    margin-bottom: 12px;
}

.selection-summary p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.selection-summary .price-highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

#confirm-selection-btn {
    width: 100%;
    margin-top: 10px;
}

.time-slot {
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    background: white;
    font-size: 0.9rem;
}

.time-slot:hover:not(.booked) {
    border-color: var(--primary-color);
    background-color: rgba(234, 187, 17, 0.1);
    transform: translateY(-2px);
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.time-slot.booked {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Booking Form */
.booking-form {
    margin-top: 15px;
}

.booking-summary {
    background-color: var(--light-gray);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.booking-summary h4 {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.booking-summary p {
    margin: 3px 0;
    font-size: 0.9rem;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.booking-form label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(234, 187, 17, 0.1);
}

.booking-form textarea {
    resize: vertical;
    min-height: 60px;
}

.booking-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    font-size: 0.85rem;
}

.booking-form .checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.booking-form .checkbox-label span {
    user-select: none;
}

.booking-form .checkbox-label.consent {
    padding: 10px;
    background-color: var(--light-gray);
    border-radius: 4px;
}

.booking-form button {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

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

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(234, 187, 17, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 12px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.footer-social {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-social .social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    /* Services Grid - Stack on tablets and mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        margin-bottom: 20px;
    }
    
    .booking-system {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .calendar-container,
    .booking-details {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        gap: 0;
        z-index: 1000;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links a {
        display: block;
        padding: 20px;
        font-size: 1.1rem;
        width: 100%;
        min-height: 48px; /* Touch-friendly tap target */
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Mobile Logo */
    .logo-container {
        gap: 10px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 500px;
        padding: 100px 20px 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Services Section Mobile */
    .services {
        min-height: auto;
        padding: 60px 0;
    }
    
    .services h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    /* Container Padding */
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    /* Header Mobile */
    header {
        padding: 12px 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    /* Hero Mobile */
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 25px 20px;
        width: 100%;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Apartment Grid Mobile */
    .apartments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Booking System Mobile */
    .calendar-container,
    .booking-details {
        padding: 15px;
    }
    
    .calendar-grid {
        gap: 4px;
    }
    
    .calendar-day-header {
        font-size: 0.7rem;
        padding: 5px 2px;
    }
    
    .calendar-day {
        font-size: 0.8rem;
        padding: 8px 4px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    /* Forms Mobile */
    .booking-form,
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px; /* Touch-friendly */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Touch-friendly tap targets */
    button,
    .btn,
    a {
        -webkit-tap-highlight-color: rgba(234, 187, 17, 0.3);
    }
    
    /* Footer Mobile */
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 60px 0 40px;
        margin-top: 65px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Section Heading Mobile */
    .section-heading-styled {
        font-size: 1.75rem;
        margin-bottom: 35px;
    }
    
    /* Office/Apartment Cards Mobile */
    .office-card,
    .apartment-card {
        margin-bottom: 15px;
    }
    
    .office-img-placeholder,
    .apartment-img-placeholder {
        height: 180px;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20px auto;
    }
    
    .modal-close {
        right: 15px;
        top: 15px;
        font-size: 1.5rem;
    }
    
    /* Contact Page Mobile */
    .contact-box {
        padding: 20px;
    }
    
    .reception-card {
        padding: 20px;
    }
    
    .map-container iframe {
        height: 200px;
    }
}

/* ========== NEW PAGES STYLES ========== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #d4a611);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.services .container {
    width: 100%;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Building Sections */
.building-section {
    margin-bottom: 60px;
}

.building-image-banner {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.building-exterior-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.building-image-banner:hover .building-exterior-img {
    transform: scale(1.05);
}

.building-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3));
    padding: 30px;
    color: white;
}

.building-info-text h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.building-info-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.building-info-text i {
    color: var(--primary-color);
}

/* Address with map hover */
.address-with-map {
    position: relative;
    display: inline-block;
}

.building-address {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
}

.building-address:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.map-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 8px;
    pointer-events: auto;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: white;
}

.address-with-map:hover .map-tooltip,
.map-tooltip:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.map-tooltip iframe {
    display: block;
    border-radius: 8px;
}

/* Dual image building banner */
.building-image-dual {
    height: 350px;
}

.dual-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 15px;
    padding: 15px;
    background: transparent;
}

.building-exterior-img-dual {
    flex: 1;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.building-exterior-img-dual:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.building-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

/* Offices Grid */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.office-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.office-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-img-placeholder i {
    font-size: 4rem;
    color: #ccc;
}

.office-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.office-info h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.office-size,
.office-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    margin: 8px 0;
    font-size: 0.95rem;
}

.office-size i,
.office-location i {
    color: var(--primary-color);
}

.office-detail-btn {
    width: 100%;
    margin-top: 15px;
}

/* Section Heading Styled */
.section-heading-styled {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-heading-styled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #d4a611);
    border-radius: 2px;
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

/* Apartments Grid */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.apartment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.apartment-img-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.apartment-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.apartment-img-placeholder i {
    font-size: 4rem;
    color: #ccc;
}

.apartment-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apartment-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.apartment-size,
.apartment-location,
.apartment-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 0.95rem;
}

.apartment-size,
.apartment-location {
    color: var(--secondary-color);
}

.apartment-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.apartment-size i,
.apartment-location i,
.apartment-price i {
    color: var(--primary-color);
}

.apartment-detail-btn {
    width: 100%;
    max-width: 200px;
    margin-top: 15px;
    display: block;
}

/* Coworking Info */
.coworking-info {
    max-width: 900px;
    margin: 0 auto;
}

/* Coworking Gallery */
.coworking-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
    height: 520px;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #fafafa);
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gallery-item-large .gallery-placeholder i {
    font-size: 5rem;
}

.gallery-placeholder p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.gallery-item-large .gallery-placeholder p {
    font-size: 1.3rem;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.info-card {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

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

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--secondary-color);
}

.instructions {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.instructions h3 {
    margin-bottom: 20px;
}

.instructions ol {
    list-style: decimal;
    padding-left: 25px;
}

.instructions li {
    margin: 10px 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.owner-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details {
    font-size: 1.05rem;
}

.contact-details p {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    color: var(--primary-color);
    width: 20px;
}

.contact-details a {
    color: var(--text-color);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.section-title-margin {
    margin-top: 60px;
}

.receptions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.reception-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.reception-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
}

.social-link i {
    font-size: 1.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-images-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.modal-images-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.modal-images-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10002;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(234, 187, 17, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    z-index: 10002;
}

.modal-office-details,
.modal-apartment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-description,
.modal-features,
.modal-contact-form {
    margin: 30px 0;
}

.modal-description h3,
.modal-features h3,
.modal-contact-form h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-description p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features li i {
    color: var(--primary-color);
}

.inquiry-form .form-group {
    margin-bottom: 15px;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Responsive Styles for New Pages */
@media (max-width: 992px) {
    .coworking-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
        height: 300px;
    }
    
    .locations-grid,
    .offices-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apartments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .receptions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-images-gallery {
        grid-template-columns: 1fr;
    }
    
    .modal-office-details,
    .modal-apartment-details {
        grid-template-columns: 1fr;
    }
    
    .modal-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .coworking-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item,
    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
    
    .gallery-item-large .gallery-placeholder i {
        font-size: 3.5rem;
    }
    
    .gallery-item-large .gallery-placeholder p {
        font-size: 1.1rem;
    }
    
    .building-image-banner {
        height: 250px;
    }
    
    .building-image-dual {
        height: 450px;
    }
    
    .dual-image-container {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .building-exterior-img-dual {
        width: 100%;
        height: 50%;
        border-radius: 10px;
    }
    
    .building-info-text h4 {
        font-size: 1.3rem;
    }
    
    .building-info-text p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .locations-grid,
    .offices-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .apartments-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .social-links-large {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        padding: 25px;
        margin: 20px auto;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 10px;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .building-image-banner {
        height: 220px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .building-image-dual {
        height: 400px;
    }
    
    .dual-image-container {
        gap: 10px;
        padding: 10px;
    }
    
    .building-exterior-img-dual {
        border-radius: 8px;
    }
    
    .building-overlay {
        padding: 20px;
    }
    
    .building-info-text h4 {
        font-size: 1.2rem;
    }
    
    .building-info-text p {
        font-size: 0.95rem;
    }
    
    .building-title {
        font-size: 1.4rem;
    }
    
    .office-info h4,
    .apartment-info h3 {
        font-size: 1.1rem;
    }
}
