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

html {
    scroll-behavior: smooth;
}

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

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: #c41e3a;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}

.cookie-category p {
    color: #666;
    font-size: 14px;
    margin-left: 30px;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-tertiary {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a01729 0%, #8b1322 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #c41e3a;
    border: 2px solid #c41e3a;
}

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

.btn-tertiary {
    background: #666;
    color: white;
}

.btn-tertiary:hover {
    background: #555;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #c41e3a;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c41e3a;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1322 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Company Info Section */
.company-info {
    padding: 80px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 40px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #c41e3a;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #c41e3a;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.info-card p {
    color: #666;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.9) 0%, rgba(139, 19, 34, 0.9) 100%);
    z-index: -1;
}

.service-card.premium::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 193, 7, 0.9) 100%);
}

.service-card.luxury::before {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.9) 0%, rgba(106, 13, 173, 0.9) 100%);
}

.service-card.elite::before {
    background: linear-gradient(135deg, rgba(0, 123, 191, 0.9) 0%, rgba(0, 86, 179, 0.9) 100%);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.service-icon {
    margin-bottom: 30px;
    color: white;
}

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

.service-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

/* Properties Section */
.properties {
    padding: 80px 0;
    background: #f8f9fa;
}

.properties h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.property-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #c41e3a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-card.featured .property-tag {
    background: #ffd700;
    color: #1a1a1a;
}

.property-card.exclusive .property-tag {
    background: #8a2be2;
}

.property-info {
    padding: 30px;
}

.property-info h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.property-location {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.property-details {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 15px;
}

.property-description {
    color: #666;
    line-height: 1.6;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.review-stars {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.review-author strong {
    display: block;
    margin-bottom: 5px;
    color: white;
}

.review-author span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1322 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    min-width: 250px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: white;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    color: #c41e3a;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.map-placeholder {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Thank You Page Styles */
.thank-you-page {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-message, .error-message {
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
}

.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
}

.success-icon, .error-icon {
    margin-bottom: 20px;
    color: #155724;
}

.error-icon {
    color: #721c24;
}

.success-message h1, .error-message h1 {
    color: #155724;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.error-message h1 {
    color: #721c24;
}

.success-text, .error-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #155724;
}

.error-text {
    color: #721c24;
}

.next-steps {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
}

.next-steps h3 {
    color: #155724;
    margin-bottom: 15px;
}

.next-steps ul {
    list-style-position: inside;
    color: #155724;
}

.next-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

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

.contact-minimal {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.contact-minimal h2 {
    margin-bottom: 30px;
    color: #1a1a1a;
}

.contact-info-minimal {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info-minimal .contact-item {
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    color: #c41e3a;
    margin-bottom: 20px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #c41e3a;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c41e3a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* Blog Styles */
.blog-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 30px;
}

.blog-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card a {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card a:hover {
    color: #8b1322;
}

/* Article Styles */
.article-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 16px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    line-height: 1.8;
}

.article-content h2 {
    color: #c41e3a;
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.article-content h3 {
    color: #1a1a1a;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 20px;
    color: #444;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: #444;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #c41e3a;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.back-to-blog {
    text-align: center;
    padding: 40px 0;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.legal-content h1 {
    color: #c41e3a;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.legal-content h2 {
    color: #1a1a1a;
    margin: 40px 0 20px;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #c41e3a;
    margin: 30px 0 15px;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

.legal-content ul, .legal-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.legal-content strong {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        min-width: auto;
        width: 100%;
    }
    
    .services-grid,
    .properties-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-info-minimal {
        flex-direction: column;
        gap: 20px;
    }
    
    .legal-content {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services h2,
    .properties h2,
    .reviews h2,
    .newsletter h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .property-card,
    .review-card {
        margin: 0 10px;
    }
    
    .newsletter-content,
    .thank-you-content {
        padding: 0 10px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .newsletter,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .article-content,
    .legal-content {
        max-width: none;
        padding: 0;
        box-shadow: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-text h1 {
        -webkit-text-fill-color: #c41e3a;
        background: none;
    }
    
    .service-card::before {
        opacity: 0.95;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
