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

:root {
    --color-primary: #111;
    --color-secondary: #1a1a1a;
    --color-tertiary: #222;
    --color-quaternary: #2d2d2d;
    --color-text-primary: #e5e5e5;
    --color-text-secondary: #b3b3b3;
    --color-text-tertiary: #888;
    --color-accent: #D4AF37;
    --color-accent-light: #F5D78E;
    --color-border: #333;
    --color-card-bg: #1a1a1a;
    --color-button-text: #222;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--color-primary);
    color: var(--color-text-primary);
    padding-top: 80px;
}

.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.747);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    body {
        padding-top: 0;
    }
    
    .sticky-header {
        position: sticky;
        top: 20px;
        margin-top: 20px;
        background-color: transparent;
        box-shadow: none;
    }
    
    .sticky-header.sticky {
        top: 0;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.747);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

.sofa-container {
    position: relative;
    overflow: hidden;
}

.sofa-image {
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sofa-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-accent) 0%, var(--color-tertiary) 100%);
    opacity: 0.3;
    z-index: 0;
}

.sofa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.767) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
    color: white;
}

.sofa-card:hover .sofa-image {
    transform: scale(1.05);
}

.sofa-card:hover .sofa-overlay {
    opacity: 1;
}

.sofa-card {
    border-radius: 8px;
}

.sofa-card img {
    transition: .3s;
    opacity: .7;
}

.sofa-card:hover img {
    opacity: 1;
}

.nav-link {
    position: relative;
    transition: .2s;
}

.nav-link:hover {
    color: var(--color-accent-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    cursor: pointer;
    width: 24px;
    height: 24px;
    transition: all 0.25s;
    position: relative;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    transform: rotate(0);
    transition: all 0.5s;
}

.hamburger-middle {
    transform: translateY(7px);
}

.hamburger-bottom {
    transform: translateY(14px);
}

.open .hamburger-top {
    transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-middle {
    display: none;
}

.open .hamburger-bottom {
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .carousel-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(212, 175, 55, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-control:hover {
    background-color: rgba(212, 175, 55, 1);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background-color: var(--color-accent);
    transform: scale(1.6);
}

.square-section {
    border-radius: 0;
}

.square-image {
    border-radius: 0;
}

.square-button {
    border-radius: 0;
}

.whatsapp-button {
    background-color: #25D366;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../sofa-fundo.webp');
    background-size: cover;
    background-position: center center;
    opacity: 0.5;
    animation: zoomInOut 15s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: -120px;
}

.gold-gradient {
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gold-button {
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
    color: var(--color-button-text);
    transition: all 0.3s;
}

.gold-button:hover {
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.gold-border-button {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    transition: all 0.3s;
}

.gold-border-button:hover {
    background-color: var(--color-accent);
    color: var(--color-button-text);
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

footer .reveal,
footer .reveal-left,
footer .reveal-right {
    transition-delay: 0.3s !important;
}

html,
body {
    min-height: 100vh;
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-tertiary {
    background-color: var(--color-tertiary);
}

.bg-quaternary {
    background-color: var(--color-quaternary);
}

.bg-card {
    background-color: var(--color-card-bg);
}

.text-primary {
    color: var(--color-text-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-tertiary {
    color: var(--color-text-tertiary);
}

.text-accent {
    color: var(--color-accent);
}

.border-primary {
    border-color: var(--color-border);
}

.header-container {
    width: 100%;
    max-width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .header-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.catalog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.catalog-button:hover {
    background-color: var(--color-accent);
    color: var(--color-button-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@media (max-width: 767px) {
    .catalog-button {
        width: 100%;
        max-width: 280px;
    }
}

.footer-col {
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer-links h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--color-accent);
}

.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-top: 3px;
    margin-right: 12px;
    color: var(--color-accent);
    min-width: 16px;
}

.contact-info div {
    flex: 1;
}

.contact-info .label {
    font-weight: 500;
    display: block;
    color: white;
    margin-bottom: 2px;
}

.business-hours {
    background: var(--color-quaternary);
    padding: 20px;
    border-radius: 8px;
}

.hours-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hours-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--color-button-text);
}

.fa-clock{
    transform: scale(300%);
}

.hours-title {
    font-weight: 500;
    color: white;
}

.hours-days {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.hours-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.hours-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    margin-right: 10px;
}

.hours-closed {
    display: flex;
    align-items: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-bottom a {
    color: var(--color-text-secondary);
    transition: all 0.3s;
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .footer-col {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .footer-links h3 {
        margin-bottom: 15px;
    }
    
    .business-hours {
        padding: 15px;
    }
    
    .hours-list {
        padding-left: 40px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .flex {
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .footer-col {
        margin-bottom: 30px;
    }
    
    .footer-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

   @media (max-width: 767px) {
.header-container {
    padding-left: 5px;
    padding-right: 5px;
}

.header-content {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    justify-content: space-between;
}

.sticky-header {
    padding: 0;
    top: 0;
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.747) !important;
}
}