/* Playa Escapes Custom Styles */

:root {
  --pe-primary: #0077b6;
  --pe-secondary: #00b4d8;
  --pe-accent: #f77f00;
  --pe-dark: #023047;
  --pe-light: #caf0f8;
  --pe-white: #ffffff;
  --pe-sand: #f4f1de;
}

/* Fix excess whitespace */
main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

article {
  margin-bottom: 0 !important;
}

/* Typography */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pe-dark);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--pe-dark);
}

/* Hero Styling */
.hero-overlay {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(0,119,182,0.9), rgba(0,180,216,0.8));
  border-radius: 12px;
  margin: 2rem 0;
  color: var(--pe-white);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--pe-white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  background: var(--pe-accent);
  color: var(--pe-white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: #e76f00;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(247,127,0,0.4);
}

/* Resort Grid */
.resort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.resort-card {
  background: var(--pe-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resort-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.resort-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.resort-card-content {
  padding: 1.5rem;
}

.resort-card h3 {
  margin: 0 0 0.5rem;
  color: var(--pe-primary);
}

.resort-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefits-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--pe-dark), var(--pe-primary));
  color: var(--pe-white);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2, .cta-section h3 {
  color: var(--pe-white);
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.phone-cta {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.phone-cta a {
  color: var(--pe-light);
  font-weight: 600;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.booking-form {
  background: var(--pe-sand);
  padding: 2rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--pe-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pe-primary);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-group.checkbox label {
  font-weight: normal;
  font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
  padding: 1rem;
}

.contact-info h3 {
  color: var(--pe-primary);
  margin-bottom: 1rem;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--pe-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--pe-dark);
  transition: all 0.3s;
  position: relative;
}

.social-link:hover {
  background: var(--pe-secondary);
  color: var(--pe-white);
}

.social-link:hover::after {
  content: "Coming Soon";
  position: absolute;
  right: 1rem;
  font-size: 0.75rem;
  background: var(--pe-accent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: white;
}

.social-note {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background: var(--pe-primary);
  color: white;
}

tr:hover {
  background: var(--pe-light);
}

/* Corporate Info */
.corporate-info {
  text-align: center;
  padding: 2rem;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
}

/* Footer Branding */
.footer-credit {
  text-align: center;
  padding: 1rem;
  background: var(--pe-dark);
  color: var(--pe-light);
  font-size: 0.85rem;
}

.footer-credit a {
  color: var(--pe-secondary);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--pe-accent);
}

/* Responsive */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .form-row {
    flex-direction: column;
  }
}
