/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    width: 100%;
}

.Hamburger{
    outline: none;
    box-shadow: none;
    border: none !important;
    box-sizing: none !important;
}
.navbar-toggler:focus {
    outline: 0;
    box-shadow: 0; /* Bootstrap 5 default focus ring */
    box-sizing: none !important;
}
.fa-bars::after, .fa-bars::before {
    box-sizing: none !important;
}
/* Font Faces */
@font-face {
    font-family: 'Roobert' !important;
    src: url('/assets/fonts/Roobert-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roobert';
    src: url('/assets/fonts/Roobert-Medium.ttf') format('ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roobert';
    src: url('/assets/fonts/Roobert-Bold.ttf') format('ttf');
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Regular.woff2') format('woff2'),
         url('/fonts/Erotique-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Additional Erotique Variants */
@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Alternate-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Alternate-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Alternate-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Monoline.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Alternate-Monoline.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Sans-Flourishes-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Erotique';
    src: url('/fonts/Erotique-Text-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Global Styles */
body {
    padding-top: 70px !important;
    font-family: 'Roobert', sans-serif;
    line-height: 1.6;
    color: #2D2B27;
    background-color: #ECEAE0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    margin: 0; /* Reset any default margins */
    transition: padding-top 0.3s ease; 
}
body.no-padding {
    padding-top: 0 !important; /* Remove padding when hero visible on index */
}
main {
    flex-grow: 1;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, .hero h1 {
    font-family: 'Erotique', sans-serif;
    font-weight: 700;
    font-style: normal;
}

h3 {
    font-family: 'Erotique', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.special-text {
    font-family: 'Erotique', sans-serif;
    font-weight: 400;
    font-style: italic;
}

.btn {
    background-color: #B45F34;
    color: #2D2B27; /* Changed from #E2D8C9 */
    padding: 12px 24px;
    border-radius: 50px; /* Changed from 4px for pill shape */
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-size: 18px;
    min-width: 44px;
    min-height: 44px;
    text-align: center;
    border: 1px solid #2D2B27; /* Added stroke */
    box-shadow: none;
}
.hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.gallery {
    background-color: #ECEAE0 !important; /* Already is, but enforce */
}
.btn:hover {
    background-color: #4B453F;
    color: #EDEADF !important; /* Changed from #E2D8C9 */
}
header.solid-bg {
    background-color: #ECEAE0 !important; /* Solid when hero not visible or on other pages */
}
/* Header Styles */
header {
    position: fixed; /* Changed from static to fixed to overlay hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensures header stays above hero content */
    background-color: #ECEAE0 !important;
    border-bottom: 1px solid #ECEAE0;
    will-change: background-color; /* Optimizes transition */
    transform: translate3d(0, 0, 0); /* Hardware acceleration */
    transition: background-color 0.3s ease;
}

header .navbar {
    width: 100%;
    background-color: #ECEAE0 !important;
    padding: 10px 0;
    margin: 0;
}

header .container-fluid {
    padding: 0 10px; /* Reduced from 0 20px to bring content closer to edges */
}
header .navbar-brand img {
    max-width: 200px;
    display: block;
}

header .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #2D2B27;
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.3s;
}

header .navbar-nav .nav-link:hover {
    color: #B45F34;
}

/* Get Started Button */
header .btn {
    background-color: #B45F34;
    color: #2D2B27 !important;
    padding: 10px 24px;
    border-radius: 50px; /* Changed from 4px for pill shape */
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 16px;
    text-align: center;
    border: 1px solid #2D2B27; /* Added stroke */
    box-shadow: none;
    max-height: 50px;
}

/* Hero Section (Slider) */
.hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
    will-change: margin-top; /* Preps for smooth change */
    transition: margin-top 0.3s ease; /* Smooth margin toggle */
    height: 925px;
    position: relative;
}
.hero.overlay {
    margin-top: -70px !important; /* Pulls hero up under transparent header */
}
.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #E2D8C9;
    position: relative;
}
#get_started_button{
    max-height: 50px !important;
    text-overflow:ellipsis !important;
}

.hero .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(86, 80, 48, 0.5); */ /* Optional overlay, uncomment if needed */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Erotique', serif;
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #B45F34;
    color: #2D2B27;
}
.hero .btn:hover {
    background-color: #4B453F;
    color: #E2D8C9;
}

/* Hero Slide Backgrounds */
.hero-slide-1 {
    background: url('/assets/images/Screenshot 2025-05-22 at 10.28.47 PM.png') center/cover no-repeat;
}

.hero-slide-2 {
    background: url('/assets/images/Zoozah-photos-LibertadRodriguez-17 copy 3.JPG') center/cover no-repeat;
}

.hero-slide-3 {
    background: url('/assets/images/libertad-bed.png') center/cover no-repeat;
}
/* Text Color for Hero Content in Slides 1 and 2 */
.hero-slide-1 .hero-content,
.hero-slide-2 .hero-content,
.hero-slide-3 .hero-content {
    color: #2D2B27;
    padding-bottom: 20px;
}

/* SVG Icon Filter in Hero Content */
.hero-content .svg-icon {
    filter: invert(41%) sepia(72%) saturate(416%) hue-rotate(336deg) brightness(92%) contrast(102%);
}

/* Services */
.services {
    padding: 80px 0;
    text-align: center;
    background-color: #ECEAE0;
    margin-top: 70px; /* Matches the approximate header height */
}

.services h2 {
    font-family: 'Erotique', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-card {
    padding: 20px; /* Increased from 20px for more space */
    margin: 20px;
    background-color: transparent;
    border: 1px solid #2D2B27; /* Your desired stroke */
    border-radius: 8px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 200px; /* Keeps uniform height */
    max-width: 300px; /* Keeps uniform height */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #4B453F;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-card .btn {
    margin-top: auto;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #E2D8C9;
    text-align: center;
}

.testimonials h2 {
    font-family: 'Erotique', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.testimonials-swiper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.testimonials .swiper-slide img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.testimonials .swiper-slide p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonials .swiper-slide p:last-child {
    font-size: 16px;
    font-weight: 400;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: transparent; /* No background */
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    color:#B45F34 !important;
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: #B45F34; /* No background */
    color: #B45F34; /* Border instead */
    opacity: 0.5;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.swiper-pagination-bullet-active {
    background: #B45F34 !important; /* Active bullet filled */
    opacity: 1;
}

/* Technology */
.technology {
    padding: 80px 0;
    text-align: center;
    background-color: #ECEAE0;
}

.technology h2 {
    font-family: 'Erotique', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.technology p {
    font-size: 18px;
    margin-bottom: 40px;
}

.tech-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tech-images img {
    width: auto;
    height: auto;
    border-radius: 8px;
}

/* Blog */
.blog {
    padding: 80px 0;
    text-align: center;
    background-color: #E2D8C9;
}

.blog h2 {
    font-family: 'Erotique', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

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

.blog-post {
    text-align: left;
}

.blog-post img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-post h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-post p {
    font-size: 16px;
    color: #4B453F;
    margin-bottom: 20px;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    text-align: center;
    background-color: #ECEAE0;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #565030;
    color: #E2D8C9;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

footer nav {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

footer nav a {
    color: #E2D8C9;
    font-size: 14px;
    text-decoration: none;
    padding: 10px;
}

footer .social-media {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

footer .social-media a {
    color: #E2D8C9;
    font-size: 24px;
    transition: color 0.3s ease;
}

footer .social-media a:hover {
    color: #B45F34;
}

footer p {
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    header nav {
        justify-content: center;
    }

    nav a {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .swiper-slide img {
        max-width: 300px;
    }

    .tech-images {
        flex-direction: column;
        align-items: center;
    }

    .tech-images img {
        width: 100%;
        max-width: 300px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post img {
        max-width: 250px;
    }
}

/* SVG Icon */
.svg-icon {
    width: 1em;
    height: 1em;
    margin-right: 0.25em;
    filter: invert(94%) sepia(15%) saturate(242%) hue-rotate(343deg) brightness(92%) contrast(93%);
    vertical-align: -0.125em;
}

.about-page {
    padding: 80px 0;
    text-align: center;
    background-color: #ECEAE0;
}

.about-page h2 {
    font-family: 'Erotique', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.about-page section {
    margin-bottom: 40px;
}

.about-page h3 {
    font-family: 'Erotique', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.about-page p {
    font-family: 'Roobert', sans-serif;
    font-size: 16px;
    color: #4B453F;
    max-width: 800px;
    margin: 0 auto;
}

/* Custom Modal Styles */
.custom-modal .modal-header {
    background-color: #C3A88A; /* Matches header color */
    color: #2D2B27; /* Matches text color */
    font-family: 'Erotique', serif; /* Matches heading font */
}

.custom-modal .modal-content {
    background-color: #ECEAE0; /* Matches site background */
}

.custom-modal .modal-body {
    font-family: 'Roobert', sans-serif; /* Matches body text font */
    color: #2D2B27; /* Matches text color */
    padding: 20px; /* Adds spacing around content */
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
}

.custom-modal .modal-body img {
    max-width: 100%; /* Makes image responsive */
    height: auto; /* Maintains aspect ratio */
    max-height: 800px; /* Prevents image from overflowing vertically */
    object-fit: contain; /* Ensures entire image is visible */
}

.custom-modal .btn-close {
    filter: invert(1); /* Makes close button visible on dark backgrounds */
}

.custom-modal .modal-footer .btn {
    background-color: #B45F34; /* Matches button color */
    color: #E2D8C9; /* Matches button text color */
}

.custom-modal .modal-footer .btn:hover {
    background-color: #4B453F; /* Matches button hover color */
}

.accordion-button {
    font-family: 'Erotique', serif;
    color: #2D2B27;
    background-color: #ECEAE0;
}
.accordion-header {
    margin-bottom: 0px !important;
}

.accordion-button:not(.collapsed) {
    background-color: #C3A88A; /* Expanded header background */
    color: #2D2B27;
}

.accordion-body {
    font-family: 'Roobert', sans-serif;
    color: #2D2B27;
    background-color: #ECEAE0;
}

.accordion-body ul {
    list-style-type: disc;
    padding-left: 20px;
}

.accordion-button i {
    margin-right: 10px;
    color: #B45F34; /* Brownish-orange accent for icons */
}

/* Gallery Section */
.gallery {
    padding: 20px 0;
    text-align: center;
    background-color: #ECEAE0; /* Light background, adjust as needed */
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery a:hover img {
    transform: scale(1.05);
}

/* Thumbnail Container */
.thumbnail-container {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    overflow: hidden;
    position: relative;
}

/* Thumbnail Image */
.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: scale-down; /* Crops to fill container */
    object-position: center bottom; /* Forces bottom part to be visible */
    transition: transform 0.3s ease;
}

/* Hover Effect */
.thumbnail-container:hover .thumbnail-img {
    transform: scale(1.05);
}

/* Modal Styles */
#galleryModal .modal-dialog {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    margin: 0;
}

#galleryModal .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
    background-color: #000;
}

#galleryModal .modal-header {
    background-color: #C3A88A;
    border-bottom: none;
}

#galleryModal .modal-body {
    padding: 0;
    height: calc(100% - 56px); /* Adjust for header */
}

.gallery-swiper {
    width: 100%;
    height: 100%;
}

.gallery-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Shows full image in slideshow */
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #E2D8C9;
}

.gallery-swiper .swiper-pagination-bullet {
    background: #E2D8C9;
    opacity: 0.5;
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Custom Close Button for Modal */
.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2D2B27; /* White color for visibility on dark backgrounds */
    cursor: pointer;
}
.close-btn:hover {
    color: #B45F34; /* Optional: Red color on hover for better feedback */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .close-btn {
        font-size: 1.5rem; /* Larger size for mobile */
    }
}

/* Roadmap Section */
.roadmap {
    padding: 80px 0;
    text-align: center;
    background-color: #ECEAE0;
}

.roadmap h2 {
    font-family: 'Erotique', serif;
    font-size: 36px;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow-y: auto; /* Ensure smooth scrolling */
    touch-action: pan-y; /* Smooth touch scrolling on mobile */
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #B45F34; /* Accent color for the line */
    top: var(--line-start, 0); /* Dynamic start position based on first card */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    padding: 0 40px; /* Remove top/bottom padding, handle with content */
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.left {
    left: 0;
    text-align: right;
    transform: translateX(-50px); /* Slide in from left */
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    transform: translateX(50px); /* Slide in from right */
}

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

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #2D2B27; /* Dot color */
    border: 4px solid #B45F34;
    top: 0; /* Align dot with top of card */
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px; /* Add padding only to content */
    background-color: #E2D8C9;
    position: relative;
    border-radius: 8px;
    border: 1px solid #2D2B27;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Offset to align with dot */
}

.timeline-content h3 {
    font-family: 'Erotique', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    color: #4B453F;
    margin-bottom: 15px;
}

.timeline-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Roadmap Collapsible Content */
.timeline-content .collapse {
    margin-top: 15px;
}

.timeline-content .btn-toggle {
    background-color: transparent;
    color: #B45F34;
    border: none;
    padding: 10px 15px; /* Increased for touch targets */
    font-family: 'Roobert', sans-serif;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.timeline-content .btn-toggle:hover {
    color: #4B453F;
}

.timeline-content .btn-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px #B45F34; /* Accessible focus ring */
}

.timeline-content .collapsible-content {
    padding: 10px 0;
}

.timeline-content .collapsible-content p {
    margin-bottom: 10px;
}

.timeline-content .collapsible-content img {
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Ensure header and date remain visible and styled */
.timeline-content h3, .timeline-content .date {
    margin-bottom: 10px;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .close-btn {
        font-size: 1.5rem; /* Larger size for mobile */
    }

    .timeline::after {
        left: 20px; /* Consistent left-aligned line */
        transform: none;
    }

    .timeline-item {
        width: 100%; /* Full width on mobile */
        padding: 20px 30px; /* Increased padding for readability */
        text-align: left;
        left: 0; /* Reset positioning */
        transform: translateX(0); /* No slide animation */
    }

    .timeline-item.left, .timeline-item.right {
        left: 0;
        text-align: left; /* Force left alignment on mobile to avoid overrun */
    }

    .timeline-item.left::after, .timeline-item.right::after {
        left: 0px; /* Align dot with left line for all items */
    }

    .timeline-content {
        margin-top: 0; /* Remove margin on mobile to align with dot */
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-content .date {
        font-size: 14px;
    }

    .timeline-content .btn-toggle {
        font-size: 14px;
        padding: 8px 12px;
        min-height: 48px; /* Touch-friendly */
    }

    .timeline-content .collapsible-content p {
        font-size: 14px;
    }

    .timeline-content .collapsible-content img {
        max-height: none;
        height: auto;
        width: 100%;
        object-fit: contain;
    }
}
