/* Retro-Modern Theme */
:root {
    --bg-color: #FDFDFB;
    --text-color: #313131;
    --primary-color: #1a4d53; /* Deep Teal */
    --accent-color: #d98c5f; /* Burnt Orange */
    --card-bg: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Onest', sans-serif;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    width: 100%;
}

main {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section - Retro-Modern Style */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #e3e8e9; /* Light teal/grey */
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    color: var(--primary-color);
}

.hero-image {
    flex: 1.2;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #555;
    font-weight: 400;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.feature-tag {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(217, 140, 95, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #c77a4e;
    box-shadow: 0 12px 25px rgba(217, 140, 95, 0.4);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Image Placeholders */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    z-index: 1;
}

.hero-image img + .image-placeholder,
.gallery-item img + .image-placeholder,
.specs-image img + .image-placeholder,
.before-after-container img + .image-placeholder,
.demo-container img + .image-placeholder {
    display: none;
}

/* Gallery Section */
.gallery-section {
    padding: 20px 0;
    background-color: var(--bg-color);
}

.gallery-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
}

.gallery-grid {
    margin: 0 auto;
}

.gallery-grid:after {
    content: '';
    display: block;
    clear: both;
}

.gallery-item {
    position: relative;
    float: left;
    width: 32%;
    margin: 0.66%;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 77, 83, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Technical Specifications */
.tech-specs {
    background: #ffffff;
    padding: 4rem 0;
}

/* Removed tech-specs h2 override to use consistent global styling */

.spec-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.spec-item-home {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.spec-item-home:hover {
    background: rgba(255, 255, 255, 0.1);
}

.spec-item-home i {
    color: var(--accent-color);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.link-arrow {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-arrow:hover {
    text-decoration: underline;
}

.specs-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs-text {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

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

.specs-text .section-subtitle {
    text-align: center;
}

.specs-image {
    display: none;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.spec-item {
    text-align: left;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid #d1d1d1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.spec-item i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.spec-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.spec-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

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

.specs-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Renovation Section */
.renovation-section {
    padding: 20px 0;
    background: var(--bg-color);
}

.renovation-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

.renovation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 70px;
}

.renovation-item h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.before-after-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.before-after-container:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.before-after-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Progress Timeline */
.progress-timeline {
    margin: 70px 0;
    text-align: center;
}

.progress-timeline h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.inline-gallery-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Full-width Hero Carousel */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio (4080x3072) */
    overflow: hidden;
}

.hero-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.6);
    font-weight: 500;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-nav-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-nav-btn.prev {
    left: 20px;
}

.hero-nav-btn.next {
    right: 20px;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active,
.hero-indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Renovation and Window Carousel Styles */
.renovation-carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4; /* Portrait ratio for renovation images */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.window-carousel-container {
    position: relative;
    width: 100%;
    max-width: 700px; /* Limit width to prevent overwhelming display */
    margin: 0 auto; /* Center the carousel */
    aspect-ratio: 4/3; /* 4000x3000 ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.renovation-slide,
.window-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.renovation-slide.active,
.window-slide.active {
    opacity: 1;
}

.renovation-slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: left;
}

.renovation-slide .slide-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: white;
}

.renovation-slide .slide-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.4;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 20px;
}

.carousel-nav-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 80%;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.inline-gallery-container .lg-item {
    border-radius: var(--border-radius);
}

.inline-gallery-container .lg-sub-html {
    /* background-color: rgba(26, 77, 83, 0.85); */
    color: #fff;
    /* font-family: var(--font-body); */
    /* text-align: left; */
    padding: 15px 25px;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.inline-gallery-container .lg-sub-html h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.inline-gallery-container .lg-sub-html p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.inline-gallery-container .lg-actions .lg-next,
.inline-gallery-container .lg-actions .lg-prev {
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
}

.inline-gallery-container .lg-actions .lg-next:hover,
.inline-gallery-container .lg-actions .lg-prev:hover {
    background-color: #c77a4e;
}

.inline-gallery-container .lg-toolbar {
    background: transparent;
}

/* Construction Section */
.construction-section {
    padding: 20px 0;
    background-color: #e3e8e9;
}

.construction-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

.construction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.construction-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.construction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.construction-item:hover .gallery-overlay {
    opacity: 1;
}

.construction-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Smart Features */
.smart-features {
    padding: 20px 0;
    background: var(--bg-color);
}

.smart-features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}

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

.feature-demo {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-demo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-demo h3 {
    font-size: 1.5rem;
    padding: 20px 20px 15px;
}

.demo-container {
    position: relative;
}

.demo-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.feature-demo p {
    font-size: 0.95rem;
    color: #555;
    padding: 15px 25px 0;
    line-height: 1.6;
}

/* Pricing & Contact - Redesigned */
.pricing-contact {
    padding: 20px 0;
    background-color: #e3e8e9;
}

/* Homepage single card layout */
.pricing-single-layout {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pricing-single-layout .pricing-card-redesigned {
    max-width: 700px;
    width: 100%;
}

/* Contact page two-column layout */
.contact-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Redesigned card styles */
.pricing-card-redesigned, .contact-card-redesigned {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #d1d1d1;
}

.contact-card-redesigned p {
    margin-bottom: 35px;
    line-height: 1.6;
    color: var(--text-color);
}

.pricing-card-redesigned h2, .contact-card-redesigned h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-card-redesigned h3, .contact-card-redesigned h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

/* Pricing header section */
.pricing-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.pricing-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-body);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.price-note {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

/* Features section */
.pricing-features {
    margin-bottom: 35px;
}

.included-list {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.included-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
}

.included-list li:last-child {
    border-bottom: none;
}

.included-list li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 12px;
}

/* Contact section */
.contact-section {
    border-top: 2px solid #eee;
    padding-top: 25px;
}

.contact-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-item div {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
    font-weight: 500;
}

.contact-item a, .contact-item span {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.contact-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.contact-button i {
    font-size: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-buttons .contact-button {
    flex: 1;
    min-width: 140px;
}

.email-button {
    background-color: var(--accent-color);
}

.email-button:hover {
    background-color: #333;
}

.sms-button {
    background-color: #28a745;
}

.sms-button:hover {
    background-color: #218838;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .specs-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-single-layout {
        margin-top: 20px;
    }

    .pricing-single-layout .pricing-card-redesigned {
        max-width: 100%;
    }

    .contact-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }

    .pricing-card-redesigned, .contact-card-redesigned {
        padding: 30px;
    }

    .renovation-carousel-container {
        aspect-ratio: 3/4;
        height: 500px; /* Fallback for older browsers - taller for portrait */
    }

    .window-carousel-container {
        max-width: 600px; /* Slightly smaller on tablet */
        aspect-ratio: 4/3;
        height: 350px; /* Fallback for older browsers */
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .renovation-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .progress-timeline,
    .window-view-section {
        padding: 40px 0;
        margin: 0;
    }
    
    .inline-gallery-container {
        width: 90%;
        height: 400px;
        aspect-ratio: 3 / 4; /* Portrait for mobile */
        max-width: 100%;
    }
    
    /* Renovation gallery specifically portrait on mobile */
    #renovation-gallery-container {
        aspect-ratio: 3 / 4; /* Portrait for construction photos */
    }
    
    /* Hero carousel mobile styles */
    .hero-carousel-section {
        padding-bottom: 75%; /* Maintain 4:3 aspect ratio on mobile */
    }
    
    .hero-content h1 {
        font-size: 2rem;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.7);
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.7);
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hero-nav-btn.prev {
        left: 10px;
    }
    
    .hero-nav-btn.next {
        right: 10px;
    }
    
    .hero-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
    
    #window-gallery-container {
        aspect-ratio: 16/10;
    }

    .renovation-carousel-container {
        aspect-ratio: 3/4;
        height: 400px; /* Fallback for older browsers - taller for portrait */
    }

    .window-carousel-container {
        max-width: 500px; /* Compact size on mobile */
        aspect-ratio: 4/3;
        height: 280px; /* Fallback for older browsers */
    }

    .renovation-slide .slide-overlay {
        padding: 1rem;
    }

    .renovation-slide .slide-overlay h4 {
        font-size: 1.2rem;
    }

    .renovation-slide .slide-overlay p {
        font-size: 0.9rem;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-nav-btn.prev {
        left: 10px;
    }

    .carousel-nav-btn.next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
        max-width: 90%;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .gallery-item {
        width: 48%;
        margin: 1%;
    }
    
    .renovation-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .construction-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-redesigned, .contact-card-redesigned {
        padding: 25px;
    }

    .pricing-single-layout {
        margin-top: 15px;
    }

    .pricing-single-layout .pricing-card-redesigned {
        max-width: 100%;
    }

    .contact-two-column {
        gap: 25px;
        margin-top: 15px;
    }

    .pricing-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }

    .price {
        font-size: 2.8rem;
    }

    .pricing-features {
        margin-bottom: 25px;
    }

    .contact-section {
        padding-top: 20px;
    }

    .contact-grid {
        gap: 15px;
        margin-bottom: 25px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .contact-buttons .contact-button {
        min-width: auto;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .gallery-item {
        width: 48%;
        margin: 1%;
    }
    
        .pricing-card-redesigned, .contact-card-redesigned {
        padding: 20px;
    }

    .pricing-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .pricing-header h2 {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 2.5rem;
    }

    .pricing-features {
        margin-bottom: 20px;
    }

    .contact-section {
        padding-top: 15px;
    }

    .contact-grid {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .contact-buttons .contact-button {
        min-width: auto;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-tag {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* lightGallery customizations */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
}

.lg-toolbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.lg-sub-html {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
}

/* Additional visual enhancements */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 70%, rgba(255, 255, 255, 0.1));
    pointer-events: none;
}

/* Window View Section */
.window-view-section {
    padding: 20px 0;
    background: var(--bg-color);
}

.window-view-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

#window-gallery-container {
    aspect-ratio: 4/3;
}

/* Header and Navigation */
.main-header {
    background: rgba(253, 253, 251, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

@media (max-width: 850px) {
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease;
        z-index: 1001;
    }

    .main-nav.mobile-open::before {
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        gap: 25px;
        z-index: 1002;
    }
    
    .main-nav.mobile-open ul {
        transform: translateX(0);
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .mobile-nav-toggle {
        display: block;
    }
    
    .mobile-nav-toggle.is-active .hamburger {
        background: transparent;
    }
    
    .mobile-nav-toggle.is-active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle.is-active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .tech-specs .spec-grid-home,
    .specs-content,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 40px;
    }

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

    .page-title {
        font-size: 2.5rem;
    }
}

/* Page-specific styles */
.page-section {
    padding: 20px 0;
}

.page-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.tech-specs .spec-grid-home,
.specs-content,
.features-grid {
    grid-template-columns: 1fr;
}

.hero-content {
    flex-direction: column;
    text-align: center;
}

.hero-text {
    margin-bottom: 40px;
}

/* Renovation Journey */
.renovation-section {
    padding: 20px 0;
    background: var(--background-color);
}

.renovation-layout {
    display: block;
}

.renovation-layout .renovation-text {
    margin-bottom: 40px;
}

.renovation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.renovation-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.renovation-carousel-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Technical Specifications on Homepage */
.tech-specs .specs-content {
    grid-template-columns: 1fr;
    gap: 0;
}

.tech-specs .specs-text {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.tech-specs .specs-content .specs-image {
    display: none;
}

/*------------------------------------*\
  #SPECIFICATIONS PAGE
\*------------------------------------*/
/* Removed tech-specs page-title override to use consistent global styling */

.tech-specs .section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 5rem auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Two-column feature rows */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    min-width: 50%;
}

.feature-text h2 {
    font-family: 'Onest', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-text p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1rem;
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text ul li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 1em;
    line-height: 1.6;
    color: #444;
}

.feature-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #007acc;
    font-size: 1.2em;
    font-weight: bold;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Full-width feature rows */
.feature-row-full {
    margin-bottom: 6rem;
    text-align: center;
}

.feature-text-center {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.feature-text-center h2 {
    font-family: 'Onest', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-text-center p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.feature-list-center {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.feature-list-center li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 1em;
    line-height: 1.6;
    color: #444;
}

.feature-list-center li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #007acc;
    font-size: 1.2em;
    font-weight: bold;
}

.feature-image-full {
    max-width: 900px;
    margin: 0 auto;
}

.feature-image-full img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}

/* Remove old spec grid styles */
.spec-grid, .specs-content {
    /* This is now handled by feature-row */
}

@media (max-width: 992px) {
    .feature-row {
        gap: 2rem;
    }
    
    .feature-text h2, .feature-text-center h2 {
        font-size: 2rem;
    }
    
    /* Removed tech-specs page-title override to use consistent global styling */
}

@media (max-width: 768px) {
    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        margin-bottom: 4rem;
        gap: 2rem;
    }

    .feature-text h2, .feature-text-center h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    
    /* Removed tech-specs page-title override to use consistent global styling */
    
    .feature-image-full {
        max-width: 100%;
    }
}

/* Button centering */
.button-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-center .cta-button {
    display: inline-block;
}

/* Video container styling */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*------------------------------------*\
  #CONTACT PAGE
\*------------------------------------*/