/* CSS Document VELORMO*/

/*colors of Velormo website 
main:  #031033
other: black,white,steel,concrete,red
*/

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

:root {
    /* Industrial Brutalist Color Palette */
    --: #031033;
    --concrete: #031033;
    --steel: #334155;

    --industrial-darkblue: #031033;
    --industrial-lightblue: ;
    --white: #ffffff;
    --border: #334155;
}


/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #031033;
    color: #ffffff;
    line-height: 1.6;
    overflow-y: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-gray);
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* profile */
.profile-btn{
    height: 25px;
    width: 100px;
    padding: 2px 15px;
    color: #031033;
    border: none;
    background: white;
    border-radius: 25px;
    border: white;
    font-weight: bolder;   
}

.logout{
    background: #031033;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    height: 25px;
    width: 70px;
    
}

.save {    
    width: 1150px;     
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin: 40px auto 0 auto; 
    color: black;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
    font-weight: bold;
    box-sizing: border-box;
}

#saved-list{
    position:relative;
    height:250px;
    overflow:hidden;
    margin-top:10px;
    border-radius:12px;
    background:#ffffff;
    border:1px solid #e3e3e3;
}

#saved-list .scroll-content{
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    padding:8px;
    scrollbar-width:thin;
    scrollbar-color:#031033 #d9d9d9;
}

@media (max-width: 600px) {
    .save {
        margin: 40px auto 0 auto;
        width: 500px; 
    }
}

@media (max-width: 550px) {
    .save {
        margin: 40px auto 0 auto;
        width: 400px;
    }
}

@media (max-width: 380px) {
    .save {
        margin: 40px auto 0 auto;
        width: 260px;
    }
}

/* Search */

.search-box {
    display: flex;
    border-radius: 50px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 100px;
    max-width: 380px;
    background: white;
    box-shadow: 0 0 20px black;
}

.search-box input {
    border: none;
    padding: 12px 16px;
    flex: 1;
    outline: none;
    font-size: 15px;

}

.search-box button {
    background: linear-gradient(135deg, darkblue,midnightblue);
    border: none;
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

@media (max-width: 360px) {
    .search-box button {
        padding: 5px 5px;
    }
}


/* Navigation */
nav {
    position: fixed;
    width: 1200px;
    border-radius: 50px;
    margin: 20px 100px;
    background: linear-gradient(180deg, rgba(5, 18, 52, 0.95) 0%, rgba(5,18,52,0.92) 100%);
    z-index: 1000;
    transition: all 0.3s ease;
}


nav:hover{
    box-shadow: 0 0 30px midnightblue;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0px auto;
    border-radius: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit:contain;
    margin-right: 8px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    text-decoration: underline 1px solid white;
}



/* Responsive Phone */
@media (max-width: 600px) {
    .logo {
        font-size:medium;
    }

    .logo img {
        height: 100%;
        max-height: 45px;
    }

}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    nav {
        position: fixed;
        justify-content: center;
        width: calc(100% - 40px);
        margin: 10px 20px;
        border-radius: 50px;
        background: linear-gradient(180deg, rgba(5, 18, 52, 0.95) 0%, rgba(5,18,52,0.92) 100%);
        z-index: 1000;
        transition: all 0.3s ease;
    }
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 10px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section with Rotating Backgrounds */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #031033,black);
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; 
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.hero h1 {
    margin-bottom: 1rem;
    line-height: 0.9;
}


.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin: none;
    text-transform: none;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--concrete);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--industrial-red), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #031033;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: static;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 0 20px black;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--industrial-darkblue);
    transition: height 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, transparent 50%, var(--industrial-darkblue) 50%);
    transition: all 0.3s ease;
    opacity: 0;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--industrial-red);
    background: linear-gradient(135deg, var(--black) 0%, rgba(230,57,70,0.05) 100%);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon.icon-24-7::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 3px,
        rgba(230,57,70,0.3) 3px,
        rgba(230,57,70,0.3) 6px
    );
    z-index: -2;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--industrial-orange);
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--industrial-red);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Spaces Section */
.spaces {
    padding: 6rem 0;
    background: var(--black);
}

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

}

.space-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    box-shadow: 0 0 20px 0 black;
}

.space-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.space-card:nth-child(1) .space-thumbnail {
    background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.8)), 
                url('images/origskytree.png');
    background-size: cover;
    background-position: center;
}

.space-card:nth-child(2) .space-thumbnail {
    background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.8)),  
                url('images/Santuario\ De\ la\ Inmaculada.png');
    background-size: cover;
    background-position: center;
}

.space-card:nth-child(3) .space-thumbnail {
    background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.8)), 
                url('images/banff.png');
    background-size: cover;
    background-position: center;
}

.space-card:nth-child(4) .space-thumbnail {
    background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.8)), 
                url('images/palawan.png');
    background-size: cover;
    background-position: center;
}

.space-card:nth-child(5) .space-thumbnail {
    background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.8)), 
                url('images/fruttswit.png');
    background-size: cover;
    background-position: center;
}

.space-card:nth-child(6) .space-thumbnail {
    background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.8)), 
                url('images/Banauericeterraces.png');
    background-size: cover;
    background-position: center;
}

.space-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.9) 100%);
    transition: all 0.3s ease;
}

.space-card:hover .space-thumbnail {
    transform: scale(1.1);
}

.space-card:hover::after {
    background: linear-gradient(180deg, rgba(5, 14, 88, 0.3) 0%, rgba(10,10,10,0.9) 100%);
}

.space-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 1;
}


.space-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.space-feature-tag {
    background: var(--steel);
    padding: 0.25rem 0.75rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 25px;
    font-weight: bold;
}


/* Style map Section */
.MAPA{
    padding: 6rem 0;
    background: #031033;
    width: 100%;
    max-width: 1350px;
    border-radius: 25px;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px 0 white;
}

.mapa {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 35px;
    color: #031033;
    text-decoration: none;
    border-radius: 50px;
    background-color: white;
    box-shadow:  0 0 20px white;
    padding-left: 90px;
    padding-right: 90px;
    padding-bottom: 10px;
    padding-top: 10px;               
}


@media (max-width: 600px) {
    .MAPA{
        box-shadow: none;
    }

    .mapa {
        font-size: large;
        box-shadow: none;
    }

    
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #031033, #334155);
    text-align: center;
    position: relative;
    overflow: hidden;
}


.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



/* Footer */
footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: var(--industrial-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--industrial-red);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-credits {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-credits a {
    color: var(--industrial-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--industrial-orange);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--steel);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

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

@media (max-width: 600px) {
    .menu-toggle {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-credits {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    
    .features-grid, .spaces-grid {
        grid-template-columns: 1fr; 
        justify-items: center;       
    }

    .feature-card, .space-card {
        width: 100%;
        max-width: 450px;           
        margin: 0 auto;             
        clip-path: none;
    }

    .feature-icon {
        clip-path: none;
    }
}

@keyframes loading {
    to {
        transform: scaleX(1);
    }
}
