@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body, html {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    padding: 10px 10px;
    overflow-x: hidden; /* evitar scroll horizontal */
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}

/* UTILIDADES */
.reduced-padding {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Header */
.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/inicio.jpg);
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 130px;
}

/* Ajustes de márgenes horizontales grandes */
.coffe-content h2,
.txt-p,
.service-content p,
.general-1 {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.service-content p {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.general-1 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/inicio.jpg);
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 130px; /* Aumenta el padding para dejar espacio al menú fijo */
}

.menu{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    z-index: 10;
}

.logo2 {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.logo2-img {
    height: 90px;
    width: auto;
}

.menu .navbar ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #fffdff;
    display: block;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu .navbar ul li a:hover{
    color: #CE967B;
}

#menu{
    display: none;
}

.menu-icono{
    width: 25px;
}

.menu label{
    cursor: pointer;
    display: none;
    z-index: 20;
}

.social-icons {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 50px;
    height: 50px;
}

.header-content{
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 50px;
    line-height: 60px;
    color: #f9fafc;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.header-content p {
    font-size: 16px;
    color: #c5c5c5;
    padding: 0 10px;
    margin-bottom: 25px;
}

/* Botón */
.btn-1 {
    display: inline-block;
    padding: 11px 35px;
    background-color: #CE967B;
    color: #f9fafc;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    border-radius: 4px;
}

.btn-1:hover {
    background-color: #ebad8e;
}

/* Section Coffe */
.coffe {
    padding: 100px 0;
    background-color: #e1e2e6;
    position: relative;
}

.coffe-content {
    text-align: center;
}

.coffe-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
}

.txt-p {
    font-size: 16px;
    color: #414247;
    padding: 0 250px;
    margin-bottom: 35px;
}

.coffe-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.coffe-1 {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    flex: 1 1 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.coffe-1:hover {
    transform: translateY(-8px);
}

.coffe-1 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.coffe-1 h3 {
    color: #323337;
    font-size: 20px;
    margin-bottom: 10px;
}

.coffe-1 p {
    font-size: 15px;
    color: #414247;
    line-height: 1.6;
}

/* Service Section */
.service {
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
}

.service-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.service-content p {
    font-size: 16px;
    color: #000;
    margin-bottom: 50px;
    padding: 0 50px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.service-1 h3::before {
    content: "• ";
    color: #333;
    font-weight: bold;
    margin-right: 8px;
}

.service-1 {
    padding: 0 100px;
}

.service-1 img {
    width: 25px;
    margin-bottom: 15px;
}

.service-1 h3 {
    color: #eaccb3;
    font-size: 18px;
}

/* General Section */
.general {
    display: flex;
}

.general-1 {
    width: 50%;
    padding: 100px 250px 100px 100px;
    background-color: #e1e2e6;
}

.general-2 {
    background-image: url(images/img1.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

.general-3 {
    background-image: url(images/img2.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    width: 50%;
}

/* General Typography */
h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    color: #414247;
    margin: 25px 0 45px 0;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    text-align: center;
}

.blog-content {
    display: flex;
    justify-content: space-between;
}

.blog-1 {
    padding: 15px 55px;
}

.blog-1 img {
    width: 250px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.blog-1 h3 {
    font-size: 25px;
    color: #323337;
}

/* Footer Section */
.footer {
    padding: 100px 0;
    background-color: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.link h3 {
    font-size: 18px;
    color: #f9fafc;
    margin-bottom: 15px;
}

.link a {
    font-size: 16px;
    color: #c5c5c5;
    display: block;
    margin-bottom: 15px;
}

/* Main Text Section */
.main-text {
    background-image: url('images/bg3.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    text-align: center;
    color: white;
}

/* Contact Section */
.contact-section {
    padding: 40px 20px;
    background-color: #f5f7fa;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.contact-section p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 1rem;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 1200px;
    width: 100%;
}

.form-container {
    flex: 1 1 400px;
}

.form-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-container input,
.form-container textarea {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.form-container button {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: #555;
}

.map-container {
    flex: 1 1 400px;
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
}

/* Cities Section */
.ciudades-container {
    background-color: #000;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.ciudades-container h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.iowa-map {
    width: 300px;
    margin-bottom: 30px;
}

.ciudades-container p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 22px;
    color: #fff;
}

.ciudades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
    column-gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ciudades-grid span {
    font-size: 20px;
    color: #fff;
}

/* Media Queries */

/* Desktop to Tablet */
@media screen and (max-width: 1024px) {
    .coffe-content h2 {
        font-size: 36px;
    }

    .txt-p {
        font-size: 15px;
    }

    .coffe-group {
        gap: 20px;
    }
}
.contact-section {
  padding: 40px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-container {
  width: 100%;
  max-width: 800px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-form h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.contact-form button {
  padding: 12px;
  background-color: #2c2c2c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}

.contact-map iframe {
  width: 100%;
  border-radius: 10px;
}

.contact-section {
  padding: 40px 20px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  gap: 20px;
  justify-content: space-between;
}

.contact-form, .contact-map {
  flex: 1 1 450px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.contact-form button {
  padding: 12px;
  background-color: #2c2c2c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 10px;
  border: 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form, .contact-map {
    width: 100%;
  }
}


/* Responsive ajustes para el form dentro del header */
@media screen and (max-width: 768px) {
    .header-content .contact-wrapper {
        justify-content: center;
    }

    .header-content .contact-container {
        max-width: 100%;
        padding: 15px;
    }
}

/* Tablet and small devices */
@media screen and (max-width: 768px) {
    /* Menu */
    .menu label {
        display: block; /* Mostrar icono menú hamburguesa */
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #323337;
        display: none;
        flex-direction: column;
        z-index: 15;
    }

    #menu:checked ~ .navbar {
        display: flex;
    }

    .menu .navbar ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .menu .navbar ul li {
        float: none;
        text-align: center;
        border-bottom: 1px solid #444;
    }

    .menu .navbar ul li a {
        padding: 15px;
    }

    /* Header text */
    .header-content h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .header-content p,
    .txt-p,
    .service-content p,
    .general p,
    .blog-1 p {
        font-size: 14px;
        padding: 0 15px;
    }

    /* Layout flex adjustments */
    .service-group,
    .blog-content,
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .coffe-content h2,
    .service-content h2,
    .general h2,
    .blog-1 h3 {
        font-size: 24px;
    }

    /* Stack coffe cards */
    .coffe-group {
        flex-direction: column;
        gap: 20px;
    }

    /* Contact form and map stack */
    .contact-container {
        flex-direction: column;
        padding: 20px;
    }

    .form-container,
    .map-container {
        width: 100%;
        min-height: 300px;
    }

    /* Cities grid to 2 columns */
    .ciudades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .iowa-map {
        width: 200px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Social icons smaller */
    .social-icons img {
        width: 30px;
        height: 30px;
    }

    .social-icons {
        gap: 15px;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    body, html {
        overflow-x: hidden;
    }

    /* Header */
    .header {
        min-height: 50vh;
        padding: 10px 20px 20px 20px;
    }

    .header-content h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .header-content p,
    .txt-p {
        font-size: 14px;
        padding: 0 15px;
    }

    /* Menu */
    .menu label {
        display: block;
        z-index: 20;
    }

    .menu .navbar {
        background-color: #323337;
    }

    /* Social icons smaller */
    .social-icons {
        gap: 10px;
    }

    .social-icons img {
        width: 25px;
        height: 25px;
    }

    /* Logo smaller */
    .logo2-img {
        height: 60px;
        margin-left: 10px;
    }

    /* Stack content */
    .coffe-group,
    .service-group,
    .blog-content {
        flex-direction: column;
        gap: 15px;
    }

    /* Headings smaller */
    .coffe-content h2,
    .service-content h2,
    h2 {
        font-size: 28px;
        line-height: 34px;
        padding: 0 15px;
    }

    /* Form inputs smaller */
    .form-container input,
    .form-container textarea,
    .form-container button {
        font-size: 14px;
        padding: 10px;
    }

    /* Contact padding */
    .contact-container {
        padding: 15px;
    }

    /* Cities grid 1 column */
    .ciudades-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Iowa map smaller */
    .iowa-map {
        width: 100%;
        max-width: 250px;
        margin: 0 auto 30px auto;
        display: block;
    }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body, html {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f2f5;
  padding: 20px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/inicio.jpg);
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 130px;
}

.menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  z-index: 10;
}

.logo2 {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.logo2-img {
  height: 90px;
  width: auto;
}

.menu .navbar ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.menu .navbar ul li {
  position: relative;
  float: left;
}

.menu .navbar ul li a {
  font-size: 18px;
  padding: 20px;
  color: #fffdff;
  display: block;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu .navbar ul li a:hover {
  color: #CE967B;
}

#menu {
  display: none;
}

.menu-icono {
  width: 25px;
}

.menu label {
  cursor: pointer;
  display: none;
  z-index: 20;
}

.social-icons {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 50px;
  height: 50px;
  max-width: 100%;
}

/* Other sections unchanged for brevity */

/* Media Queries */
@media screen and (max-width: 768px) {
  .menu label {
    display: block;
  }

  .menu .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #323337;
    display: none;
    flex-direction: column;
    z-index: 15;
  }

  #menu:checked ~ .navbar {
    display: flex;
  }

  .menu .navbar ul {
    flex-direction: column;
  }

  .menu .navbar ul li {
    float: none;
    text-align: center;
    border-bottom: 1px solid #444;
  }

  .menu .navbar ul li a {
    padding: 15px;
  }

  .header-content h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .txt-p {
    padding: 0 15px !important;
    font-size: 14px;
  }

  .coffe-group,
  .service-group,
  .blog-content,
  .footer-content,
  .general {
    flex-direction: column;
    gap: 20px;
  }

  .general-1, .general-2, .general-3 {
    width: 100%;
    padding: 40px 20px;
    background-size: cover;
  }

  .ciudades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .iowa-map {
    width: 200px;
    display: block;
    margin: 0 auto;
  }

  .social-icons img {
    width: 30px;
    height: 30px;
  }

  .social-icons {
    gap: 15px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .header {
    min-height: auto;
    padding: 100px 15px 20px 15px;
    background-position: center center;
    background-size: cover;
  }

  .header-content h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .txt-p,
  .header-content p {
    font-size: 14px;
    padding: 0 15px !important;
  }

  .social-icons img {
    width: 25px;
    height: 25px;
  }

  .logo2-img {
    height: 60px;
    margin-left: 10px;
  }

  .ciudades-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .iowa-map {
    max-width: 250px;
  }
}
