/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff6b35;
    --accent-color: #2c5aa0;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --spacing-unit: 1rem;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* ===== MODERN HEADER FRAMEWORK ===== */

/* Header Container */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(44, 44, 44, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(44, 44, 44, 0.98));
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header.transparent {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(44, 44, 44, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.transparent .nav-menu a {
    color: white;
}

.site-header.transparent .nav-menu a:hover {
    color: #ff6b35;
}

.site-header.transparent .nav-logo img {
    filter: brightness(0) invert(1);
}

/* Navigation Container */
.main-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: block;
    line-height: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(143, 20, 2, 0.15);
}

/* Call-to-Action Button */
.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-cta-btn:hover {
    background: #a81e03;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(143, 20, 2, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
    gap: 4px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-header .mobile-menu-toggle span {
    background: white;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f8f5f0, #ede7dd);
    z-index: 1001;
    padding: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

/* Ensure mobile menu completely covers background content */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Modern Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.mobile-menu-logo {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.mobile-menu-close::before {
    content: '×';
    font-size: 24px;
    color: #333;
    font-weight: 300;
}

/* Mobile Menu Navigation Content */
.mobile-menu-content {
    flex: 1;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.mobile-menu-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}



/* Mobile Navigation Grid */
.mobile-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-link {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-cta-link {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border-radius: 0;
    width: 100%;
    max-width: 300px;
}

.mobile-cta-link:hover {
    background: linear-gradient(135deg, #ff8c5a, #ff6b35);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Content Spacing for Fixed Header */
body {
    padding-top: 70px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .main-nav {
        grid-template-columns: auto 1fr auto;
        padding: 1rem;
        align-items: center;
    }
    
    body {
        padding-top: 60px;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .site-header {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(44, 44, 44, 0.95)) !important;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0.75rem;
    }
    
    body {
        padding-top: 55px;
    }
}

/* ===== END HEADER FRAMEWORK ===== */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.6),
        rgba(44, 90, 160, 0.4)
    );
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c5a);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #ff8c5a, var(--secondary-color));
}

/* Hero Logo at Top Center */
.hero-logo {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-logo img {
    height: 240px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Hero Corner Information Overlay */
.hero-corner-info {
    position: absolute;
    bottom: 6rem;
    left: 4rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    z-index: 3;
}

.corner-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.corner-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.corner-stats {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stats-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

.corner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.cta-action {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.corner-cta:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Units Section */
.units {
    padding: 3rem 0;
    background: var(--light-bg);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.unit-card {
    display: block;
    background: linear-gradient(135deg, #ffffff, #fafbfc);
    border: 2px solid #e8eaed;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.unit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.unit-card:hover::before {
    transform: scaleX(1);
}

.unit-card-content {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.unit-card h3 {
    color: #1a202c;
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.unit-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 15px;
    font-weight: 500;
}

.price {
    display: block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.025em;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    background: var(--light-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.company-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.salzman-logo {
    max-height: 80px;
    max-width: 100%;
    margin-bottom: 1em;
    filter: brightness(0) invert(0.2);
    transition: all 0.3s ease;
}

.salzman-logo:hover {
    filter: brightness(0) invert(0.4);
    transform: scale(1.05);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 15px;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

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

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    /* Make hero corner info smaller on mobile */
    .hero-corner-info {
        bottom: 8rem;
        left: 1rem;
        right: 1rem;
        padding: 1.5rem;
        max-width: none;
    }
    
    .corner-text h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .corner-text h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .corner-cta {
        padding: 0.75rem 1.5rem;
    }
    
    .cta-count {
        font-size: 14px;
    }
    
    .cta-action {
        font-size: 11px;
    }
} 

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-corner-info {
        bottom: 7rem;
        left: 0.75rem;
        right: 0.75rem;
        padding: 1.25rem;
    }
    
    .corner-text h1 {
        font-size: 1.4rem;
    }
    
    .corner-text h2 {
        font-size: 1.1rem;
    }
    
    .corner-cta {
        padding: 0.6rem 1.25rem;
    }
    
    .cta-count {
        font-size: 13px;
    }
    
    .cta-action {
        font-size: 10px;
    }
}

/* Apartment Selector Widget */
.apartment-selector {
    margin: 1.5rem 0 2rem 0;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.floor-plans {
    display: block;
    margin-bottom: 1.5rem;
}

.floor-plan {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.floor-plan:hover {
    box-shadow: var(--shadow-hover);
}

/* 2NP Floor Plan - Full Width */
.apartment-selector-2np {
    margin: 1.5rem 0 2rem 0;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.floor-plan-fullwidth {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.floor-plan-fullwidth:hover {
    box-shadow: var(--shadow-hover);
}

.floor-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.image-map-wrapper {
    position: relative;
    display: inline-block;
}

.floor-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.overlay-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hover-area {
    fill: rgba(0, 200, 0, 0.2);
    stroke: rgba(0, 200, 0, 0.6);
    stroke-width: 2;
    pointer-events: fill;
    transition: all 0.3s ease;
}

.hover-area:hover {
    fill: rgba(143, 20, 2, 0.2);
    stroke: rgba(143, 20, 2, 0.8);
    stroke-width: 3;
    cursor: pointer;
}

.selector-info {
    text-align: center;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border: 2px dashed var(--border-color);
    margin-top: 1rem;
}

.selector-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .apartment-selector,
    .apartment-selector-2np {
        padding: 0.75rem;
        margin: 1rem 0 1.5rem 0;
    }
    
    .floor-plan,
    .floor-plan-fullwidth {
        padding: 0.5rem;
    }
    
    .floor-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .apartment-selector,
    .apartment-selector-2np {
        padding: 0.5rem;
        margin: 0.75rem 0 1rem 0;
    }
    
    .floor-plan,
    .floor-plan-fullwidth {
        padding: 0.5rem;
    }
    
    .selector-info {
        padding: 0.5rem;
    }
    
    .selector-info p {
        font-size: 0.85rem;
    }
} 

/* Apartment Tooltip */
.apartment-tooltip {
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    transform: translateY(10px);
    max-width: 200px;
    min-width: 160px;
}

.apartment-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.4;
}

.tooltip-title {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.tooltip-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.tooltip-status {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.tooltip-status.available {
    background: #e8f5e8;
    color: #2d5a2d;
}

.tooltip-status.sold {
    background: #fde8e8;
    color: #7f1d1d;
}

/* Responsive tooltips */
@media (max-width: 768px) {
    .apartment-tooltip {
        max-width: 180px;
        min-width: 140px;
        padding: 10px 12px;
    }
    
    .tooltip-title {
        font-size: 13px;
    }
    
    .tooltip-details {
        font-size: 12px;
    }
    
    .tooltip-status {
        font-size: 11px;
    }
} 

/* Content Sections (O projektu, Lokalita) */
.content-section {
    padding: 5rem 0;
    background: var(--white);
}

.content-section:nth-child(even) {
    background: var(--light-bg);
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section-reverse .content-row {
    direction: rtl;
}

.content-section-reverse .content-text,
.content-section-reverse .content-image {
    direction: ltr;
}

.content-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.content-text h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    line-height: 1.3;
}

.text-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.content-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Content Sections */
@media (max-width: 1024px) {
    .content-section {
        padding: 4rem 0;
    }
    
    .content-row {
        gap: 3rem;
    }
    
    .content-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 3rem 0;
    }
    
    .content-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-section-reverse .content-row {
        direction: ltr;
    }
    
    .content-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .content-text h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .text-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 2rem 0;
    }
    
    .content-row {
        gap: 1.5rem;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .content-text h3 {
        font-size: 1.2rem;
    }
    
    .content-text h4 {
        font-size: 1.1rem;
    }
    
    .text-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
} 

/* Contact Form Messages */
#form-messages {
    margin-bottom: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-message ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.form-message li {
    margin-bottom: 0.25rem;
}

/* Field-level error messages */
.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Enhanced form field validation states */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Contact Form Loading States */
.btn-loading {
    display: none;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Modern Contact Form Styles */
.contact-form {
    background: linear-gradient(135deg, #f8f5f0, #ede7dd);
    padding: 3rem 2rem;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0 0.8rem 0;
    border: none;
    border-bottom: 2px solid #d4c5b9;
    background: transparent;
    font-size: 1rem;
    color: #2c2c2c;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #8b6f47;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #8b6f47, #a0845c);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.contact-form .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #a0845c, #8b6f47);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.3);
}

/* Enhanced success message styling */
.form-message.success strong {
    color: #0f5132;
}

.form-message.success div {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #c3e6cb;
    background: rgba(212, 237, 218, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Responsive form styles */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.95rem;
    }
    
    .contact-form .btn-primary {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .contact-form .btn-primary {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .form-message {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
} 

/* Contact Section - Homepage */
.contact {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contact .contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact .contact-top {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact .contact-person {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.contact .contact-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.contact .contact-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: fit-content;
}

.contact .company-logo {
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

.contact .salzman-logo {
    max-height: 80px;
    max-width: 100%;
    margin-bottom: 1em;
}

.contact .contact-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0.5rem 0 1.5rem 0;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.contact .contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.5rem;
    font-size: 0.9rem;
    text-align: left;
}

.contact .contact-details p {
    margin: 0;
    display: flex;
    align-items: center;
    color: var(--text-color);
    line-height: 1.4;
    text-align: left;
}

.contact .contact-details strong {
    color: var(--primary-color);
    font-weight: 600;
    min-width: 60px;
    margin-right: 8px;
}

.contact .contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.contact .contact-info a:hover {
    text-decoration: underline;
}

.contact .quick-contact {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact .quick-contact h3 {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0 0 2rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Homepage contact form uses the same base styles as detail pages */

/* Responsive Contact Section */
@media (max-width: 1024px) {
    .contact .contact-content {
        gap: 2.5rem;
    }
    
    .contact .contact-top {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .contact .contact-photo {
        width: 160px;
        height: 160px;
    }
    
    .contact .contact-details {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .contact .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact .contact-content {
        gap: 2rem;
    }
    
    .contact .contact-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .contact .contact-photo {
        width: 140px;
        height: 140px;
    }
    
    .contact .contact-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .contact .contact-info {
        padding: 1.5rem;
    }
    
    .contact .quick-contact h3 {
        padding: 1.25rem 1.5rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact .contact-content {
        gap: 1.5rem;
    }
    
    .contact .contact-top {
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .contact .contact-photo {
        width: 120px;
        height: 120px;
    }
    
    .contact .contact-details {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        font-size: 0.85rem;
    }
    
    .contact .contact-info {
        padding: 1.25rem;
    }
    
    .contact .quick-contact h3 {
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
    }
} 