* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: #000;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin: 0 20px;
    padding: 8px 0;
    position: relative;
}

nav a:hover {
    color: #ccc;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    margin: 0 40px;
}

/* Estilos base */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Contenedor principal */
.service-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 40px;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../imgs/coffeebreak-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

.hero-section p {
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 20px 0 0;
}

/* Main Grid */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin: 80px 0;
    align-items: start;
}

.service-gallery {
    position: sticky;
    top: 120px;
}

/* Gallery */
.main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid var(--gray-medium);
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: var(--black);
    transform: translateY(-3px);
}

.thumbnail.active-thumb {
    border: 3px solid #000;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Service Details */
.service-details {
    padding-right: 40px;
}

.service-details h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--black);
}

.service-description {
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* Lista de características */
.feature-list {
    margin: 30px 0;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    padding-left: 35px;
}

.feature-list li::before {
    content: "•";
    color: var(--black);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* Experience Box */
.experience-box {
    background-color: var(--gray-light);
    padding: 40px;
    border-radius: 12px;
    margin: 50px 0;
}

.experience-box h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--black);
    text-align: center;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.experience-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.exp-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--black);
}

.experience-card h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--black);
}

/* Customization Options */
.customization-options {
    margin: 60px 0 40px;
}

.customization-options h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--black);
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.custom-card {
    border-left: 4px solid var(--black);
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.custom-card:hover {
    transform: translateY(-3px);
}

.custom-card h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--black);
}

/* CTA Button */
.btn-primary {
    display: inline-block;
    background-color: var(--black);
    color: white;
    padding: 16px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 40px;
    text-align: center;
    border: 2px solid var(--black);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Info Tabs */
.service-info {
    margin: 100px 0;
    border-top: 1px solid var(--gray-medium);
    padding-top: 60px;
}

.info-tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 40px;
}

.info-tab {
    padding: 15px 30px;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.info-tab.active {
    border-bottom: 3px solid var(--black);
    font-weight: 600;
}

.tab-content {
    display: none;
    line-height: 1.8;
    font-size: 1.1rem;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin: 30px 0 20px;
    font-size: 1.4rem;
}

.tab-content ul {
    padding-left: 25px;
}

.tab-content li {
    margin-bottom: 12px;
}

/* Related Services */
.related-services {
    margin: 100px 0;
}

.related-services h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-item {
    text-decoration: none;
    color: var(--gray-dark);
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-item h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-align: center;
    margin: 0;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.footer-description {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links img {
    width: 28px;
    height: 28px;
    transition: all 0.3s;
}

.social-links img:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Raleway', sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-contact a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.legal-links a:hover {
    color: #fff;
}

.legal-links span {
    color: #555;
}

/* Thumbnail activo */
.thumbnail.active-thumb {
    border-color: var(--black);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Transición suave para cambios de pestaña */
.tab-content {
    transition: opacity 0.3s ease;
}

.tab-content:not(.active) {
    display: none;
    opacity: 0;
}

.tab-content.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Efecto hover para pestañas */
.info-tab:hover:not(.active) {
    background-color: rgba(0,0,0,0.05);
}
/* Responsive */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3.8rem;
    }
    
    .service-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-gallery {
        position: static;
        margin-bottom: 50px;
    }
    
    .service-details {
        padding-right: 0;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        margin-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section p {
        font-size: 1.4rem;
    }
    
    nav {
        padding: 0 20px;
    }
    
    nav a {
        margin: 0 12px;
        font-size: 13px;
    }
    
    .logo img {
        height: 45px;
        margin: 0 25px;
    }
    
    .service-container {
        padding: 80px 20px 40px;
    }
    
    .main-image {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    nav a {
        margin: 0 8px;
        font-size: 12px;
    }
    
    .logo img {
        height: 40px;
        margin: 0 15px;
    }
    
    .info-tabs {
        flex-wrap: wrap;
    }
    
    .info-tab {
        flex: 1 1 100%;
        text-align: center;
        padding: 12px;
    }
    
    .thumbnail-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .thumbnail {
        height: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}