/*
Theme Name: Re3fts Landing Theme
Theme URI: https://re3fts.com
Description: Custom landing page theme for Re3fts fashion platform with ACF integration
Version: 1.0.0
Author: Re3fts Team
Author URI: https://re3fts.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: re3fts
*/

/* ===========================
   CSS Reset & Base Styles
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #8B2F39;
    --dark-red: #6B1F29;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-cream: #F5F5F0;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================
   Hero Section with Video
=========================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 47, 57, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.3;
}

.email-signup-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 600px;
    margin: 0 auto 60px;
}

.email-input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid var(--text-light);
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    background: rgba(255, 255, 255, 0.1);
}

.submit-button {
    padding: 18px 40px;
    background: var(--text-light);
    color: var(--primary-red);
    border: 2px solid var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-button:hover {
    background: transparent;
    color: var(--text-light);
}

.form-message {
    margin-top: 15px;
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 5px;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 3px solid #000;
    border-bottom: 3px solid #000;
    transform: rotate(-45deg);
}
div#formMessage {
    width: max-content;
    display: block;
    margin: auto;
    position: relative;
    top: -20px;
    color: #fff;
    background: #000000a1;
    padding: 10px 30px;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===========================
   Info Section
=========================== */
.info-section {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* ===========================
   Mission & Vision Section
=========================== */
.mission-vision-section {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 60px 20px 80px;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.mission-box, .vision-box {
    text-align: center;
}

.mission-box h3, .vision-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--text-light);
    display: inline-block;
    padding-bottom: 10px;
}

.mission-box p, .vision-box p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===========================
   Editorial Section
=========================== */
.editorial-section {
    padding: 80px 20px;
}

.editorial-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.editorial-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.editorial-item {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.editorial-item:hover {
    transform: translateY(-10px);
}

.editorial-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.editorial-title {
    padding: 15px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
}

/* ===========================
   Call to Action Section
=========================== */
.cta-section {
    padding: 60px 20px 40px;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 24px;
    transition: all 0.3s ease;
}

/* ===========================
   Footer Section
=========================== */
.footer-section {
    padding: 40px 20px;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    height: 60px;
    width: auto;
}

/* ===========================
   Editorial Article Page
=========================== */
.editorial-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-meta {
    color: #666;
    font-size: 0.95rem;
}

.article-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 40px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-weight: 600;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

section.editorial-section {
    padding-bottom: 0;
}

.back-to-landing {
    display: inline-block;
    margin-bottom: 30px;
    padding: 12px 30px;
    background: var(--primary-red);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-landing:hover {
    background: var(--dark-red);
    transform: translateX(-5px);
}

.hero-content {
    width: 400px;
}

section#hero {
    align-items: flex-start;
    padding-top: 60px;
}

.submit-button {position: absolute;right: 0;border-radius: 50px;color: #000;font-size: 20px;height: 50px;padding: 0 20px;}

form#waitingListForm {
    position: relative;
}

input.email-input {
    border-radius: 50px;
    height: 50px;
}

video.hero-video {
    object-position: 50% 30%;
}

.info-section h2 {
    margin-bottom: 0;
}

h2.hero-headline {
    margin-bottom: 20px;
}

.mission-box h3, .vision-box h3 {
    width: 70%;
    padding-bottom: 0;
    border-width: 1px;
}

section.editorial-section {
    padding-top: 30px;
}

.editorial-section h2 {
    margin-bottom: 20px;
}

section#info-section {
    position: relative;
    z-index: 9;
    width: 100%;
    background: #8b2f39c4;
}
.hero-content {
    height: 100%;
}
section#hero {
    flex-direction: column;
    justify-content: space-between;
    height: 145vh;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .hero-headline {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .email-signup-form {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .email-input {
        border-radius: 50px;
        width: 100%;
    }
    
    .submit-button {
        border-radius: 50px;
        width: 100%;
    }
    
    .info-section h2 {
        font-size: 1.5rem;
    }
    
    .info-section p {
        font-size: 1rem;
    }
    
    .editorial-section h2 {
        font-size: 2rem;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-featured-image {
        height: 300px;
    }
    .footer-logo {
        height: auto;
    }
    
    section.footer-section {
        padding: 10px 0;
    }
    
    section.cta-section {
        padding: 15px;
    }
    
    img.social-icon {
        width: 30px;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .editorial-title {
        font-size: 18px;
    }
    
    .hero-content {
        width: 70%;
    }
    
    section#hero {
        padding-top: 30px;
    }
    
    button.submit-button {
        position: unset;
    }
    
    section#hero {
        height: 170vh;
    }
    
    video.hero-video {
        object-position: center top;
        height: 60%;
    }
    
    .mission-vision-container {
        gap: 0px;
    }
    
    section#info-section {
        padding-bottom: 30px;
    }
    
    .hero-video-container {
        /* position: relative; */
    }
    .hero-content {
        width: 55%;
    }
    
    section#hero {
        padding-top: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

