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

:root {
    --primary-color: #ffc700;
    --secondary-color: #d1001f;
    --dark-color: #323337;
    --light-color: #e1e2e6;
    --text-dark: #323337;
    --text-light: #dddada;
    --text-lighter: #c5c5c5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
} 

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

/* Header Styles */
.header {
    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.7)),
        url(images/fondo-header.jpeg) center center no-repeat;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    z-index: 100;
}

.logo {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 800;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.menu .navbar ul {
    display: flex;
}

.menu .navbar ul li {
    position: relative;
    margin: 0 5px;
}

.menu .navbar ul li a {
    font-size: 16px;
    padding: 15px;
    color: var(--primary-color);
    display: block;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 5px;
}

.menu .navbar ul li a:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.menu .navbar ul li a i {
    margin-right: 8px;
}

.btn-login {
    background-color: var(--secondary-color);
    color: white !important;
    border-radius: 5px;
    padding: 10px 15px;
}

.btn-login:hover {
    background-color: #b5001b !important;
    color: white !important;
}

#menu {
    display: none;
}

.menu-icon {
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.header-content {
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 72px;
    line-height: 1.2;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 1.5s;
}

.header-content p {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 30px;
    animation: fadeIn 2s;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn-1 {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-1:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Goals Section */
.coffee {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.coffee-content {
    text-align: center;
}

.coffee-content h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.txt-p {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px;
}

.coffee-group {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 30px;
}

.coffee-1 {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.coffee-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.coffee-1 img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

.coffee-1 h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.coffee-1 p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
}

.coffee-img {
    width: 300px;
    position: absolute;
    top: -50px;
    right: 0;
    opacity: 0.7;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-content {
    text-align: center;
}

.services-content h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.services-group {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 30px;
}

.services-1 {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

.services-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.services-1:hover .service-icon {
    color: var(--dark-color);
}

.services-1 h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.services-1 p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
}

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

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.7;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-1 {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

/* Footer Styles */
.footer {
    padding: 80px 0 20px;
    background-color: #000000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.link {
    flex: 1;
    min-width: 200px;
}

.link h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.link a {
    font-size: 16px;
    color: var(--text-lighter);
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

.link a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links a i {
    margin-right: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-lighter);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .menu {
        padding: 20px;
    }

    .menu-icon {
        display: block;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        display: none;
    }

    .menu .navbar ul {
        flex-direction: column;
        width: 100%;
    }

    .menu .navbar ul li {
        width: 100%;
        margin: 5px 0;
    }
    
    .menu .navbar ul li a {
        text-align: center;
        padding: 15px;
    }
    
    #menu:checked ~ .navbar {
        display: block;
    }

    .header-content h1 {
        font-size: 48px;
    }

    .header-content p {
        font-size: 18px;
        padding: 0;
    }

    .coffee-content h2, .services-content h2 {
        font-size: 36px;
        padding: 0;
    }

    .txt-p {
        padding: 0;
    }

    .coffee-img {
        width: 200px;
        opacity: 0.5;
    }

    .coffee-group, .services-group {
        flex-direction: column;
    }
    
    .coffee-1, .services-1 {
        margin-bottom: 30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 40px;
    }
    
    .coffee-content h2, .services-content h2, .contact-info h2 {
        font-size: 30px;
    }
    
    .btn-1 {
        padding: 10px 20px;
        font-size: 14px;
    }
}