/* Thomas Barber World - Estilos Principales */
/* Creado por Gabriel Diseña */

:root {
    --color-primary: #D4AF37;
    --color-gold: #C9A961;
    --color-black: #000000;
    --color-dark: #1a1a1a;
    --color-gray: #333333;
    --color-light-gray: #666666;
    --color-white: #ffffff;
    --color-bg-dark: #0a0a0a;
    --font-primary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: var(--color-black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--color-white);
}

.menu-toggle i {
    font-size: 24px;
}

.logo {
    flex: 1;
    text-align: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-text span {
    font-size: 18px;
    letter-spacing: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon,
.search-btn,
.cart-icon {
    color: var(--color-primary);
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.social-icon:hover,
.search-btn:hover,
.cart-icon:hover {
    color: var(--color-white);
}

.cart-icon {
    position: relative;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: var(--color-white);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}

/* Mobile Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.menu-sidebar {
    background-color: var(--color-black);
    width: 350px;
    max-width: 90%;
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.menu-close {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 28px;
    cursor: pointer;
    float: right;
    transition: var(--transition);
}

.menu-close:hover {
    color: var(--color-white);
}

.mobile-nav h3 {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 5px;
}

.mobile-nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li a:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

/* Hero Section - Con Logo Animado */
.hero {
    position: relative;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content-centered {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 80px 20px;
}

/* Logo Animado */
.hero-logo-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-animated {
    width: 280px;
    height: auto;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
    animation: logoFloat 4s ease-in-out infinite, logoGlow 2s ease-in-out infinite;
    transition: all 0.5s ease;
}

.hero-logo-animated:hover {
    transform: scale(1.1) rotateY(20deg);
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 1));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-15px) rotateY(5deg);
    }
    50% {
        transform: translateY(-10px) rotateY(-5deg);
    }
    75% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(212, 175, 55, 1)) drop-shadow(0 0 60px rgba(212, 175, 55, 0.8));
    }
}

.logo-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.2) 30%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 3px solid transparent;
    border-top-color: var(--color-gold);
    border-right-color: var(--color-gold);
    border-radius: 50%;
    animation: ringRotate 8s linear infinite;
    z-index: 2;
}

@keyframes ringRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.logo-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.logo-particles::before,
.logo-particles::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold), 0 0 20px var(--color-gold), 0 0 30px var(--color-gold);
    animation: particleFloat 4s ease-in-out infinite;
}

.logo-particles::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.logo-particles::after {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(50px, -50px);
        opacity: 0.5;
    }
    90% {
        opacity: 1;
    }
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: titleAppear 1s ease-out;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 400;
    color: var(--color-gold);
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: titleAppear 1s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 14px;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    animation: titleAppear 1s ease-out 0.4s backwards;
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    animation: titleAppear 1s ease-out 0.6s backwards;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.8);
}

/* Gallery Section - CORREGIDO PARA EVITAR DISTORSIÓN */
.gallery-section {
    padding: 80px 0;
    background-color: var(--color-bg-dark);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    height: 400px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background-color: var(--color-black);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--color-primary);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
}

.gallery-item:nth-child(1):hover {
    transform: translateY(-15px) scale(1.05) rotate(-2deg);
}

.gallery-item:nth-child(2):hover {
    transform: translateY(-15px) scale(1.05);
}

.gallery-item:nth-child(3):hover {
    transform: translateY(-15px) scale(1.05) rotate(2deg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content i {
    font-size: 50px;
    color: var(--color-white);
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

.gallery-overlay-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Shop CTA Section */
.shop-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark) 100%);
    text-align: center;
    border-top: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.shop-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.shop-cta-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.shop-cta-text {
    font-size: 18px;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: 40px;
}

.shop-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-shop-primary,
.btn-shop-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-shop-primary {
    background-color: var(--color-primary);
    color: var(--color-black);
    border: 2px solid var(--color-primary);
}

.btn-shop-primary:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-shop-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-shop-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.shop-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-white);
}

.feature-item i {
    font-size: 32px;
    color: var(--color-primary);
}

.feature-item span {
    font-size: 16px;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-black);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-white);
    font-weight: 400;
}

.about-logo {
    flex: 1;
    text-align: center;
}

.about-logo-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.faq-search {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
}

.faq-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background-color: var(--color-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-white);
    font-size: 16px;
    border-radius: 5px;
}

.faq-search input::placeholder {
    color: var(--color-light-gray);
}

.faq-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
}

.faq-tabs {
    text-align: center;
    margin: 40px 0;
}

.faq-tab {
    padding: 12px 30px;
    background-color: transparent;
    color: var(--color-white);
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.faq-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-black);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    color: var(--color-white);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-black);
}

.contact-info {
    text-align: center;
    margin-bottom: 60px;
}

.contact-icon {
    font-size: 60px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-phone,
.contact-email {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.contact-phone:hover,
.contact-email:hover {
    color: var(--color-white);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-dark);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours {
    text-align: center;
}

.hours-icon {
    font-size: 60px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.hours h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer p {
    color: var(--color-light-gray);
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: var(--color-primary);
    font-size: 24px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-white);
    transform: scale(1.2);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-logo-container {
        width: 250px;
        height: 250px;
        margin-bottom: 40px;
    }
    
    .hero-logo-animated {
        width: 200px;
    }
    
    .logo-ring {
        width: 230px;
        height: 230px;
    }
    
    .logo-glow-effect {
        width: 280px;
        height: 280px;
    }
    
    .hero-title {
        font-size: 48px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 12px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .shop-cta-title {
        font-size: 32px;
    }
    
    .shop-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-shop-primary,
    .btn-shop-secondary {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    
    .shop-features {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-logo-container {
        width: 200px;
        height: 200px;
    }
    
    .hero-logo-animated {
        width: 150px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
}
