:root {
    /* Cotelco Branding Colors */
    --primary-bg-start: #e09f63; /* Keeping sunset vibe for background fallback */
    --primary-bg-end: #b87b41;
    --card-bg: rgba(255, 255, 255, 0.65); /* Neutral white glass for blue text */
    --text-primary: #0c6ab0; /* Cotelco Cyan/Blue */
    --text-secondary: #4a4a4a;
    --text-accent: #0c6ab0; /* Darker blue for accents */
    --accent-green: #0c6ab0;
    --border-radius: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background: url('background.webp') no-repeat center center/cover, linear-gradient(135deg, var(--primary-bg-start), var(--primary-bg-end));
  background-attachment: fixed;
  position: relative;
  padding: 20px;
  color: var(--text-secondary);
}

h1.main-title img {
    width: 50%;
    position: relative;
    left: -20px;
}


body::before {
    content: none;
}


body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 0;
}

.top-bar {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.page-title-ghost {
  opacity: 0.5;
  font-weight: 300;
}

.theme-toggle {
  background: #fdf3ea;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.main-container {
  z-index: 1;
  width: 100%;
  max-width: 900px;
  padding: 20px;
}

.card {
  background-color: var(--card-bg);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  padding: 60px 80px;
  position: relative;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 140, 186, 0.2); /* Blueish shadow */
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  text-align: center;
}

.card-content {
  position: relative;
  z-index: 2;
}

.main-title {
  font-family: "DM Serif Display", serif;
  color: var(--text-primary);
  font-size: 3.7rem; 
  margin-bottom: 0px;
  line-height: 1.1;
}

.subtitle {
  font-family: "Kaushan Script", cursive;
  color: #915936;/* Keeping a warm accent for 'Esto va a quedar bueno' to contrast blue */
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 400;
}

.emoji-icons {
  font-style: normal;
  margin-left: 10px;
}

.description {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #5a5a5a;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 50px;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.column-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-accent);
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.social-link i {
  font-size: 1.4rem;
  color: var(--text-secondary); 
  width: 24px;
  text-align: center;
}

.social-link:hover {
  color: var(--text-brand, var(--text-primary));
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-item a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.contact-item a:hover {
  opacity: 0.7;
}

.spacing-gap {
  height: 10px;
}

.phone-green {
  color: var(--accent-green);
  font-weight: 600;
}

.phone-green i {
  color: var(--accent-green);
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: #888;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.spoiler {
  font-style: italic;
  color: #4a4a4a;
}

.address {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a4b26;
}


.coffee-watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 250px;
  height: 250px;
  opacity: 0.05;
  transform: rotate(-10deg);
  pointer-events: none;
  color: var(--text-primary);
}

/* Responsiveness */
/* Responsiveness */
@media (max-width: 768px) {
    
    
    h1.main-title img {
    width: 70%;
    position: relative;
    left: -20px;
}

body {

  padding: 0px;
}


  .card {
    padding: 40px 20px;
    width: 100%; /* Ensure it takes full width/doesn't overflow */
  }

  .main-title {
    font-size: 2.2rem; /* Slightly smaller for better fit */
  }

  .subtitle {
    font-size: 1.4rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    margin-bottom: 30px;
  }

  .info-column {
    align-items: center;
  }

  .social-link,
  .contact-item {
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on very small screens */
    width: 100%;
  }
  
  .contact-item {
      flex-direction: column; 
      gap: 5px;
      margin-bottom: 15px;
  }

  .contact-item a {
      word-break: break-word;
      font-size: 1.1rem; /* Reduce size to help it fit */
      padding: 0; /* Remove padding to maximize width */
  }
  
  .card-footer {
      padding-top: 10px;
  }
  
  .address {
      flex-direction: column;
      gap: 5px;
  }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; 
}

.main-title { animation-delay: 0.1s; }
.subtitle { animation-delay: 0.2s; }
.description { animation-delay: 0.3s; }
.info-grid { animation-delay: 0.4s; }
.card-footer { animation-delay: 0.5s; }

/* Enhanced Link Hovers */
.social-link, .contact-item a {
    position: relative;
    display: inline-block; /* Essential for transforms/positioning */
    text-decoration: none;
}

.social-link::after, .contact-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.social-link:hover::after, .contact-item a:hover::after {
    width: 100%;
}
