/* Custom Styles for VPS Promo Landing Page */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Header Styles */
.site-header {
    display: none;
    background-color: #c4d658;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hide default header elements for landing page */
.page-template-page-landing-php .site-branding,
.page-template-page-landing-php .main-navigation,
.page-template-page-landing-php .skip-link {
    display: none;
}

/* Custom logo in header */
.header-logo {
    text-align: center;
}

.header-logo img {
    max-width: 40px;
    height: auto;
}

/* Add top padding to body when header is fixed */
.page-template-page-landing-php body {
    padding-top: 80px;
}

/* Footer Styles */
.landing-footer {
    background-color: #ffffff;
    padding: 60px 0 40px;
    text-align: center;
}

.landing-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #58595B;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #93B13D;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-icon {
    width: 20px;
    height: 20px;
}

.footer-legal {
    margin-top: 10px;
}

.legal-link {
    color: #58595B;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #93B13D;
}

/* Hide default footer for landing page */
.page-template-page-landing-php .site-footer {
    display: none;
}

/* Landing Page Styles */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #58595B;
}

/* Remove visited link colors */
a {
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    color: inherit;
}

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

/* Hero Section with Enhanced Parallax Effect */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%; /* Taller to allow movement */
    background-image: url('https://promos.villasplayasamara.com/wp-content/uploads/2025/11/VPS-BlackFriday-2025-landing_vps-hero-section-background-img-hd-scaled.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
    will-change: transform;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
    transform: translateZ(50px);
    will-change: transform, opacity;
    animation: fadeInUp 1.2s ease-out;
}

/* Fade in animation for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateZ(50px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateZ(50px) translateY(0);
    }
}

/* Parallax background layers */
.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 30% 50%, rgba(147, 177, 61, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

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

.hero-logo img {
    max-width: 300px;
    height: auto;
}

.hero-promo-text {
    margin: 20px 0;
}

.promo-text-image {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

/* Promo Info Section */
.promo-info-section {
    background-color: #ffffff;
    padding: 60px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.promo-info-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.promo-phone-simple-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #58595B;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
}

.promo-phone-simple-link:hover {
    color: #93B13D;
}

.promo-phone-icon {
    width: 40px;
    height: 40px;
}

/* Offer Section */
.offer-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.cta-button {
    display: inline-block;
    background-color: #93B13D;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.cta-button:visited {
    color: #ffffff !important;
}

.cta-button:hover {
    background-color: #7a9634;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 177, 61, 0.3);
}

.offer-details {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #58595B;
    margin: 0 auto;
}

/* Images Section */
.images-section {
    padding: 80px 0;
}

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

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.02);
}

/* Terms and Conditions Page Styles */
/* .page-template-page-terminos-php .site-header {
    display: block;
} */

/* Hide default header elements for terms page */
.page-template-page-terminos-php .site-branding,
.page-template-page-terminos-php .main-navigation,
.page-template-page-terminos-php .skip-link {
    display: none;
}

.page-template-page-terminos-php body {
    padding-top: 80px;
}

/* Terms Section */
.terms-section {
    background-color: #ffffff;
    padding: 80px 0 60px;
    min-height: calc(100vh - 200px);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-content h1 {
    color: #58595B;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.2;
}

.terms-content h2 {
    color: #93B13D;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.terms-list {
    margin-bottom: 40px;
}

.term-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #93B13D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.term-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.term-item h3 {
    color: #58595B;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.term-item p {
    color: #58595B;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.term-item ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.term-item li {
    color: #58595B;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.terms-footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #93B13D;
}

.terms-footer p {
    color: #58595B;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Show custom footer for terms page */
.page-template-page-terminos-php .landing-footer {
    display: block;
}

/* Hide default footer for terms page */
.page-template-page-terminos-php .site-footer {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }
    
    .header-logo img {
        max-width: 35px;
    }
    
    .page-template-page-landing-php body {
        padding-top: 70px;
    }
    
    .page-template-page-terminos-php body {
        padding-top: 70px;
    }
    
    .landing-footer {
        padding: 40px 0 30px;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .hero-content {
        padding: 0 15px;
    }

    .hero-logo img {
        max-width: 150px;
    }

    .promo-text-image {
        max-height: 300px;
    }

    .promo-info-section {
        padding: 40px 0;
    }

    .promo-info-content {
        flex-direction: column;
        gap: 40px;
    }

    .promo-phone-simple-link {
        font-size: 1.5rem;
    }

    .promo-phone-icon {
        width: 32px;
        height: 32px;
    }

    .offer-section {
        padding: 60px 0;
    }

    .cta-button {
        font-size: 1.3rem;
        padding: 18px 40px;
    }

    .images-section {
        padding: 60px 0;
    }

    .images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Terms page responsive */
    .terms-section {
        padding: 60px 0 40px;
    }
    
    .terms-content h1 {
        font-size: 2rem;
    }
    
    .terms-content h2 {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    .term-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .term-item h3 {
        font-size: 1.2rem;
    }
    
    .terms-footer {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 0;
    }
    
    .header-logo img {
        max-width: 30px;
    }
    
    .page-template-page-landing-php body {
        padding-top: 60px;
    }
    
    .page-template-page-terminos-php body {
        padding-top: 60px;
    }
    
    .landing-footer {
        padding: 30px 0 20px;
    }
    
    .footer-logo img {
        max-width: 130px;
    }
    
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }

    .hero-logo img {
        max-width: 170px;
    }

    .promo-text-image {
        max-height: 300px;
    }

    .promo-info-section {
        padding: 30px 0;
    }

    .promo-phone-simple-link {
        font-size: 1.3rem;
    }

    .promo-phone-icon {
        width: 28px;
        height: 28px;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 16px 35px;
    }

    .offer-details {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    /* Terms page responsive */
    .terms-section {
        padding: 40px 0 30px;
    }
    
    .terms-content h1 {
        font-size: 1.8rem;
    }
    
    .terms-content h2 {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .term-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .term-item h3 {
        font-size: 1.1rem;
    }
    
    .term-item p,
    .term-item li {
        font-size: 0.95rem;
    }
    
    .terms-footer {
        padding: 15px 10px;
    }
    
    .terms-footer p {
        font-size: 1rem;
    }
}
