/* Extracted from casa_pi_site_html.html */

.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.popup {
    background-color: white;
    border-radius: 10px;
    max-width: 500px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.popup h3 {
    margin-bottom: 1rem;
}

.popup-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

:root {
    --primary-color: #AEC8A4;
    --primary-dark: #8EAB82;
    --secondary-color: #AEC8A4;
    --accent-color: #FED16A;
    --text-color: #ab4f36;
    --light-text: #666666;
    --bg-light: #F9F9F9;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #AEC8A4;
    --warning-color: #FED16A;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.8rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

.btn-accent:hover {
    background-color: #FED16A;
}

.btn-reddish {
    background-color: #c27c69;
    color: white;
}

.btn-reddish:hover {
    background-color: #a66655;
    color: white;
}

.btn-white-green {
    background-color: white;
    color: #AEC8A4;
}

.btn-white-green:hover {
    background-color: white;
    color: #AEC8A4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 1.5em; /* Adjust as needed, relative to parent font-size */
    margin-left: 0.5rem;
    vertical-align: middle; /* Helps align inline-block elements */
}

.project-logo-large {
    height: 3em; /* Twice the size of the regular logo */
    margin-bottom: 1rem; /* Add some space below the logo */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--text-color);
}

.cta-header {
    margin-left: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('images/frente.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 7rem 1rem 5rem;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* About Section */
.about-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Project Info Section */
.project-info {
    padding: 5rem 0;
    background-color: #c27c69;
    color: white;
}

.project-title {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.project-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.project-block {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    transition: all 0.3s ease;
}

.project-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-block h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.project-block p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: white;
}

.project-info-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-info h3 {
    margin: 2rem 0 1rem;
    color: white;
    font-weight: 600;
}

.technical-details {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.technical-details li {
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
    color: white;
}

.technical-details li:before {
    content: '\2022';
    color: white;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.technical-details strong {
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .project-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .project-block {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author p {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.testimonial-author small {
    color: var(--light-text);
}

.about {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
}

.about-block {
    flex: 1 1 0;
    max-width: 400px;
    min-width: 260px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 900px) {
    .about-grid {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        flex-wrap: nowrap;
    }
    .about-block {
        max-width: 90%;
        min-width: unset;
    }
}

.about-block {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 320px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

@media (max-width: 900px) {
    .about-grid {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .about-block {
        max-width: 90%;
    }
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: #AEC8A4;
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h2,
.benefits-header p {
    color: white;
}

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

.benefit-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Gallery Carousel Section */
.gallery {
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
}
.gallery-header {
    text-align: center;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 10;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    pointer-events: none;
}
.carousel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}
.carousel-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s;
}
.carousel-image.active {
    display: block;
    opacity: 1;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(174, 200, 164, 0.8);
    border: none;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

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

.carousel-btn.next {
    right: 20px;
}
.carousel-btn:hover {
    background: var(--primary-dark);
}
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.3s;
    margin: 0 3px;
    border: 2px solid transparent;
}
.carousel-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-dark);
}
@media (max-width: 800px) {
    .carousel {
        height: 250px;
    }
    .carousel-wrapper {
        max-width: 95vw;
    }
}

/* Package Section */
.package {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

/* Independent prices styling */
.independent-price {
    font-weight: 600;
    color: inherit;
    font-size: 0.9rem;
    margin-left: 10px;
    flex-shrink: 0;
    background-color: var(--primary-color);
    position: relative;
    z-index: 1;
    padding-left: 10px;
    text-decoration: line-through;
}

.includes-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.includes-list li div {
    padding-right: 10px;
    background-color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.includes-list li::after {
    content: "";
    position: absolute;
    bottom: 0.3em;
    left: 0;
    right: 0;
    width: 100%;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
    z-index: 0;
}

.package-header {
    text-align: center;
    margin-bottom: 3rem;
}

.package-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .package-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .package-details, .package-box {
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    .package-box {
        margin-bottom: 1.5rem;
    }
}

.package-details {
    flex: 1;
}

.package-box {
    flex: 1;
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: sticky;
    top: 100px;
    color: white;
}

.package-box h3 {
    color: white;
}

.package-price {
    text-align: center;
    margin-bottom: 2rem;
}

.original-price {
    text-decoration: line-through;
    color: white;
    font-size: 1.2rem;
}

.current-price {
    font-size: 2.5rem;
    color: #c27c69;
    font-weight: 700;
}

.includes-list {
    margin-bottom: 2rem;
    list-style: none;
}

/* Specific styling for the bonus item */
.bonus-item {
    list-style-type: none !important;
    list-style: none !important;
    list-style-image: none !important;
    -webkit-padding-start: 0 !important;
    padding-left: 0 !important;
}

.bonus-item::before,
.bonus-item::marker {
    content: none !important;
    display: none !important;
}

.includes-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.includes-list li i {
    color: white;
    margin-right: 0.5rem;
}

.project-list {
    list-style: none;
    margin-bottom: 2rem;
}

.project-list li {
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
}

.project-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Bonus Section */
.bonus {
    padding: 5rem 0;
    background: linear-gradient(135deg, #AEC8A4 0%, #AEC8A4 100%);
    color: white;
}

.bonus h2, .bonus h3 {
    color: white;
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 900px) {
    .bonus-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .bonus-text, .bonus-image {
        width: 100%;
        max-width: 100%;
    }
    .bonus-image {
        margin-bottom: 1.5rem;
    }
}

.bonus-text {
    flex: 1;
}

.bonus-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    max-width: 360px;
    /* 10% smaller than previous assumed 400px */
}

.bonus-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 360px;
    /* 10% smaller than previous assumed 400px */
}

.bonus-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    margin-top: 1rem;
    display: none;
}

.faq-item.active .faq-question:after {
    content: "-";
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(#AEC8A4, #AEC8A4), url('/api/placeholder/1600/600') center/cover no-repeat;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Guarantee Section */
.guarantee {
    padding: 3rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.guarantee-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.guarantee-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    background-color: var(--bg-white);
    text-align: center;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    max-width: 150px;
}

.partner-logo:hover {
    opacity: 1;
}

/* Footer */
footer {
    background-color: #c27c69;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: white;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li i {
    color: white;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

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

.copyright {
    text-align: center;
    color: white;
    font-size: 0.95rem;
    margin-top: 2rem;
}

.slide-in-left {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1s ease-in-out;
}

.slide-in-right {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1s ease-in-out;
}

.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Hide by default on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Gallery and Carousel Styles */
.gallery {
    padding: 0;
    background-color: var(--bg-light);
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.carousel {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

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

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

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

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Mobile and Desktop Carousel Display Logic */
.mobile-carousel {
    display: none;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.desktop-carousel {
    display: block;
}

.mobile-dots {
    display: none;
}

.desktop-dots {
    display: flex;
}

/* Vertical video styling */
.vertical-video {
    object-fit: cover;
    background-color: black;
    width: 100%;
    height: 100vh;
    max-width: 100%;
}

/* Styling for Casa PI text */
.casa-pi-text {
    display: inline;
}

@media (max-width: 768px) {
    /* Espaçamento para a seção do pacote em dispositivos móveis */
    .package .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Espaçamento para a lista de projetos em dispositivos móveis */
    .project-list {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Line break for Casa PI text on mobile */
    .casa-pi-text {
        display: block;
        margin-top: 5px;
    }
    
    /* Fix for white space on right side and centering */
    body, html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    /* Remove spacing between sections */
    section {
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Fix hero section spacing */
    .hero {
        margin-top: -1px;
        padding-top: 0;
    }
    
    .hero .container {
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Mobile header styling */
    header {
        position: relative;
        margin-bottom: 0;
    }
    
    header .container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0 0 0;
        margin-bottom: 0;
    }
    
    header .header-content {
        justify-content: center;
        width: 100%;
    }
    
    header nav, 
    header .btn.cta-header,
    header .mobile-menu-toggle {
        display: none !important;
    }
    
    header .logo {
        margin: 0 auto;
        text-align: center;
    }
    
    /* Header hide on scroll */
    .header-hidden {
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .header-visible {
        transform: translateY(0);
        transition: transform 0.3s ease-in-out;
    }
    
    /* Container fixes */
    .container, section, .section {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    
    /* Hide desktop carousel, show mobile carousel */
    .desktop-carousel, .desktop-dots {
        display: none;
    }
    
    .mobile-carousel, .mobile-dots {
        display: block;
    }
    
    .mobile-dots {
        display: flex;
    }
    
    /* Gallery section full height */
    .gallery {
        height: 100vh;
        width: 100vw;
        padding: 0;
        margin: 0;
        overflow: hidden;
        position: relative;
    }
    
    /* Mobile carousel dimensions */
    .mobile-carousel {
        height: 100vh;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-carousel-inner {
        height: 100vh;
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }
    
    .mobile-carousel .carousel-item {
        height: 100vh;
        width: 100%;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .vertical-video {
        width: 100%;
        height: 100vh;
        margin: 0;
        padding: 0;
        display: block;
        object-fit: cover;
        object-position: center;
    }
    
    /* Fix for gallery section */
    .gallery {
        position: relative;
        overflow: visible;
        padding: 0;
        margin: 0;
        height: 100vh;
    }
    
    /* Fix for carousel navigation buttons */
    .mobile-carousel .carousel-btn {
        z-index: 10;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-carousel .carousel-btn.prev {
        left: 10px;
    }
    
    .mobile-carousel .carousel-btn.next {
        right: 10px;
    }
    
    /* Fix for carousel dots */
    .mobile-dots {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        z-index: 10;
        display: flex;
        justify-content: center;
    }
    
    /* Fix for section containing carousel */
    .video-section {
        height: 100vh;
        width: 100%;
        position: relative;
        overflow: hidden;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block; /* Show on mobile screens */
    }
    
    nav {
        display: none; /* Hide navigation on mobile by default */
    }
    
    /* When mobile menu is active, show the navigation */
    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    nav.active ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav.active ul li {
        margin: 0.5rem 0;
    }
    
    .cta-header {
        display: none; /* Hide the header CTA button on mobile */
    }
}
