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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Baskerville', serif;
    background-color: #d4c5a0;
    background-image: url('images/fundo.fw.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #000000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color-scheme: light;
}

/* Force Light Mode */
@media (prefers-color-scheme: dark) {
    body {
        color-scheme: light;
    }
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #242415;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 2s forwards;
}

.splash-logo {
    width: 60%;
    max-width: 300px;
    height: auto;
    animation: logoAnimation 2s ease-in-out;
}

@keyframes logoAnimation {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #242415;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-logo {
    width: 286px;
    height: 74px;
    object-fit: contain;
}

/* Main Content */
#main-content {
    margin-top: 104px;
    margin-bottom: 80px;
    padding: 0;
}

/* Video Section */
.video-section {
    width: 100%;
    padding: 20px 15px;
}

.video-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.youtube-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #000;
    cursor: pointer;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(181, 151, 90, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 25px solid #242415;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(181, 151, 90, 1);
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-text {
    text-align: center;
    padding: 0 20px;
}

.video-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.3;
}

.video-subtitle {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    margin-top: 0;
    line-height: 1.5;
}

/* Images Section */
.images-section {
    width: 100%;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-link {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-link:hover {
    transform: translateY(-5px);
}

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

/* Footer */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #242415;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 37px;
    height: 37px;
    transition: transform 0.3s ease;
}

.footer-icon:hover {
    transform: scale(1.15);
}

.footer-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 375px) {
    .header-logo {
        width: 240px;
        height: 62px;
    }
    
    .video-title {
        font-size: 20px;
    }
    
    .video-subtitle {
        font-size: 14px;
    }
    
    .footer-icon {
        width: 37px;
        height: 37px;
    }
    
    .play-button {
        width: 65px;
        height: 65px;
    }
    
    .play-button::before {
        border-left: 20px solid #242415;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }
}

@media (min-width: 768px) {
    #main-content {
        margin-top: 120px;
    }
    
    .video-title {
        font-size: 28px;
    }
    
    .video-subtitle {
        font-size: 18px;
    }
    
    .footer-icon {
        width: 37px;
        height: 37px;
    }
}

/* Prevent text selection on interactive elements */
.play-button,
.footer-icon,
.image-link {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
