        :root {
            --primary-red: #B83A3A;
            --dull-blue: #3A6AB8;
            --secondary-grey: #6B7280;
            --dark-charcoal: #1F2937;
            --warm-cream: #F9F7F2;
            --wood-tone: #C9A77C;
            --light-grey: #E5E7EB;
            --white: #FFFFFF;
            --text-dark: #111827;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--warm-cream);
        }

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

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo {
            height: 60px;
            width: auto;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark-charcoal);
            font-weight: 500;
            transition: color 0.3s;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-red);
        }

        .phone-btn {
            background-color: var(--dull-blue);
            color: var(--white) !important;
            padding: 0.75rem 1.5rem;
            border-radius: 4px;
            font-weight: 600;
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background-color: var(--dark-charcoal);
            transition: 0.3s;
        }

        /* Back Button */
        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--white);
            color: var(--dark-charcoal);
            padding: 0.75rem 1.5rem;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: all 0.3s;
            margin-bottom: 2rem;
        }

        .back-btn:hover {
            background: var(--primary-red);
            color: var(--white);
            transform: translateY(-1px);
        }

        /* Hero Section */
        .hero {
            margin-top: 80px;
            height: 70vh;
            min-height: 500px;
            background: linear-gradient(rgba(31, 41, 55, 0.5), rgba(31, 41, 55, 0.5)),
                        linear-gradient(135deg, var(--wood-tone), #D4AF37);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 900px;
            padding: 2rem;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            font-weight: 300;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-family: Georgia, serif;
        }

        .hero-price {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            opacity: 0.95;
        }

        .hero-location {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        .section-title {
            font-size: 2.5rem;
            color: var(--dark-charcoal);
            margin-bottom: 1rem;
            font-family: Georgia, serif;
            font-weight: 400;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 3px;
            background-color: var(--primary-red);
        }

        /* Photo Gallery */
        .gallery {
            margin-bottom: 4rem;
        }

        .main-image {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            margin-bottom: 1.5rem;
        }

      .thumbnails {
          display: flex;
          flex-wrap: nowrap;      /* Changed from 'wrap' to prevent items from stacking */
          gap: 1rem;
          overflow-x: auto;       /* Allows scrolling when items overflow the width */
          padding: 1rem 0;        /* Adds space so images don't touch the scrollbar */
          -webkit-overflow-scrolling: touch; /* Makes scrolling smooth on mobile devices */
      }

		.thumbnail {
			 height: 120px;      /* Fixed height as requested */
			 width: auto;        /* Width adjusts to maintain aspect ratio */
			 flex-shrink: 0;     /* Prevents flexbox from squishing images */
			 border-radius: 8px;
			 cursor: pointer;
			 transition: all 0.3s;
			 border: 3px solid transparent;
			 opacity: 0.7;
			 object-fit: contain; /* Ensures image fits within given dimensions */
		}

        .thumbnail:hover,
        .thumbnail.active {
            border-color: var(--primary-red);
            opacity: 1;
            transform: scale(1.05);
        }

        .thumbnail-placeholder {
            background: linear-gradient(135deg, var(--wood-tone), #D4AF37);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.9);
            font-family: Georgia, serif;
            font-size: 0.9rem;
            text-align: center;
            border-radius: 8px;
            height: 120px;
        }

        .main-placeholder {
            background: linear-gradient(135deg, var(--wood-tone), #D4AF37);
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.9);
            font-family: Georgia, serif;
            font-size: 1.5rem;
            text-align: center;
            border-radius: 8px;
        }

        /* Details Table */
        .details-table {
            width: 100%;
            background: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 4rem;
        }

        .details-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .details-table th,
        .details-table td {
            padding: 1.25rem 1.5rem;
            text-align: left;
            border-bottom: 1px solid var(--light-grey);
        }

        .details-table th {
            background-color: var(--warm-cream);
            font-weight: 600;
            color: var(--dark-charcoal);
            width: 30%;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .details-table td {
            color: var(--secondary-grey);
            font-size: 1.05rem;
        }

        .details-table tr:last-child th,
        .details-table tr:last-child td {
            border-bottom: none;
        }

        .price-highlight {
            color: var(--primary-red) !important;
            font-size: 1.2rem;
            font-weight: 700;
        }

        /* Description */
        .description {
            background: var(--white);
            padding: 3rem;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 4rem;
        }

        .description p {
            margin-bottom: 1.5rem;
            color: var(--secondary-grey);
            font-size: 1.1rem;
            line-height: 1.8;
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .feature-item {
            background: var(--white);
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            text-align: center;
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background-color: rgba(184, 58, 58, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            border: 2px solid var(--primary-red);
        }

        .feature-icon svg {
            width: 30px;
            height: 30px;
            fill: var(--primary-red);
        }

        .feature-item h3 {
            font-family: Georgia, serif;
            color: var(--dark-charcoal);
            margin-bottom: 1rem;
        }

        /* Map Placeholder */
        .map-section {
            background: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-grey);
            font-size: 1.2rem;
            margin-bottom: 4rem;
            background-color: #E5E7EB;
        }

        /* CTA Section */
        .cta-section {
            background: var(--dull-blue);
            color: var(--white);
            padding: 4rem 2rem;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 4rem;
        }

        .cta-button {
            display: inline-block;
            background: var(--white);
            color: var(--primary-red);
            padding: 1.25rem 3rem;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: 1px;
            transition: all 0.3s;
            margin: 1rem;
            border: 2px solid var(--white);
        }

        .cta-button:hover {
            background: transparent;
            color: var(--white);
        }

        /* Footer */
        footer {
            background-color: var(--dark-charcoal);
            color: var(--white);
            padding: 3rem 2rem 1rem;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-logo {
            height: 80px;
            margin-bottom: 2rem;
            filter: brightness(0) invert(1);
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--wood-tone);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary-red);
        }

        .social-links {
            margin: 2rem 0;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s;
        }

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

        .copyright {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            color: #6B7280;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--white);
                flex-direction: column;
                padding: 2rem;
                box-shadow: 0 4px 6px rgba(0,0,0,0.1);
                gap: 1.5rem;
            }

            .nav-links.active {
                display: flex;
            }

            .mobile-menu {
                display: flex;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-price {
                font-size: 2rem;
            }

            .main-image {
                height: 300px;
            }

            .thumbnails {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            }

            .details-table th,
            .details-table td {
                padding: 1rem;
                font-size: 0.95rem;
            }

            .container {
                padding: 3rem 1rem;
            }
        }

        @media (max-width: 768px) {
            .hero {
                height: 60vh;
            }

            .details-table {
                font-size: 0.9rem;
            }

            .details-table th,
            .details-table td {
                padding: 0.75rem 1rem;
                display: block;
                width: 100%;
            }

            .details-table th {
                background-color: var(--light-grey);
                border-radius: 4px 4px 0 0;
                margin-bottom: 0.5rem;
            }

            .description {
                padding: 2rem 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }
        }

        /* Print Styles */
        @media print {
            header, footer, .back-btn, .cta-section {
                display: none !important;
            }

            body {
                background-color: white;
                color: black;
            }

            .container {
                padding: 1rem;
                max-width: none;
            }

            .main-image, .thumbnail {
                height: 200px !important;
                box-shadow: none;
                object-position: center;  /* Centers crop */
            }

            .details-table {
                box-shadow: none;
                border: 1px solid #ccc;
            }

            .details-table th {
                background-color: #f5f5f5 !important;
            }

            .gallery {
                page-break-inside: avoid;
            }
        }
