/**
 * @file
 * Subtheme specific CSS.
 */

/* Professional Event Planning Theme Styles */

/* Hide Drupal branding and logos */
.drupal-logo,
.drupal-symbol,
.site-logo img[src*="drupal"],
.site-logo img[src*="logo"],
.favicon,
.link-icon,
.brand-logo,
.navbar-brand img[src*="drupal"],
.navbar-brand img[src*="logo"],
.site-branding img[src*="drupal"],
.site-branding img[src*="logo"],
.region-header img[src*="drupal"],
.region-header img[src*="logo"],
.user-picture img[src*="drupal"],
.user-picture img[src*="logo"],
.user-profile img[src*="drupal"],
.user-profile img[src*="logo"],
/* Additional selectors for Drupal symbols - only target specific Drupal branding areas */
.navbar-brand img[src*="drupal"],
.navbar-brand img[src*="logo"],
.site-branding img[src*="drupal"],
.site-branding img[src*="logo"],
.region-header img[src*="drupal"],
.region-header img[src*="logo"],
/* Hide any SVG or icon elements that might be Drupal symbols */
svg[class*="drupal"],
svg[id*="drupal"],
.icon-drupal,
.drupal-icon {
  display: none !important;
}

/* Hide any Drupal text or branding - but NOT local tasks or tabs */
.drupal-branding,
.drupal-text,
.site-name:contains("Drupal"),
.brand-text:contains("Drupal"),
/* Hide any text content that contains Drupal - but NOT local tasks */
*:contains("Drupal"):not(.tabs):not(.local-tasks):not(.local-tasks-block):not([class*="tabs"]):not([class*="local-tasks"]),
*:contains("drupal"):not(.tabs):not(.local-tasks):not(.local-tasks-block):not([class*="tabs"]):not([class*="local-tasks"]) {
  display: none !important;
}

/* Specific targeting for user pages */
.user-page .drupal-logo,
.user-page .drupal-symbol,
.user-page img[src*="drupal"],
.user-page img[src*="logo"],
.user-page .brand-logo,
.user-page .site-logo {
  display: none !important;
}

/* Ensure local tasks and tabs are ALWAYS visible */
.tabs,
.local-tasks,
.local-tasks-block,
.tabs-wrapper,
.region-page-top,
.page-top,
[class*="tabs"],
[class*="local-tasks"],
[class*="local-tasks-block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  height: auto !important;
  width: auto !important;
}

/* Enhanced typography */
body {
  line-height: 1.6;
  font-size: 16px;
}

p {
  margin-bottom: 1.25rem;
  color: #555;
}

/* Hero section styling for event planning */
.hero-section {
  background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-section h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-section p {
  color: #ecf0f1;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Event card styling */
.event-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card h3 {
  color: #4a5568;
  margin-bottom: 15px;
}

.event-card .event-date {
  color: #a67a7a;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Call-to-action buttons */
.btn-cta {
  background: linear-gradient(135deg, #a67a7a 0%, #8b5a5a 100%);
  border: none;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(166, 122, 122, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 122, 122, 0.4);
  color: white;
}

/* Service highlights */
.service-highlight {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 30px;
  transition: background-color 0.3s ease;
}

.service-highlight:hover {
  background: #e9ecef;
}

.service-highlight i {
  font-size: 3rem;
  color: #a67a7a;
  margin-bottom: 20px;
}

.service-highlight h4 {
  color: #4a5568;
  margin-bottom: 15px;
}

/* Testimonial styling */
.testimonial {
  background: white;
  border-left: 4px solid #a67a7a;
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.testimonial blockquote {
  font-style: italic;
  color: #4a5568;
  margin-bottom: 15px;
}

.testimonial .author {
  color: #a67a7a;
  font-weight: 600;
}

/* Contact form styling */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
  color: #4a5568;
  margin-bottom: 30px;
  text-align: center;
}

/* Footer styling */
.site-footer {
  background: #2d3748;
  color: white;
  padding: 40px 0;
}

.site-footer h4 {
  color: #a67a7a;
  margin-bottom: 20px;
}

.site-footer a {
  color: #cbd5e0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #a67a7a;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .event-card {
    padding: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Utility classes */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 40px 0;
}

.margin-bottom-lg {
  margin-bottom: 60px;
}

.margin-bottom-md {
  margin-bottom: 40px;
}

/* Image styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.field--name-body img,
.field--name-field-image img,
.field--name-field-media img,
.field--name-field-photo img,
.field--name-field-picture img,
.field--name-field-gallery img,
.field--name-field-images img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 20px 0;
}

.field--name-body,
.field--name-field-body,
.field--name-field-content,
.field--name-field-description {
  line-height: 1.8;
  color: #4a5568;
}

/* Image block styling */
.image-block {
  margin: 30px 0;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-block img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* Image container styling */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 20px 0;
}

.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.05);
}

/* Corinthia font for welcome text */
.node--type-page .field--name-body,
.node--type-page .field--name-field-body,
.node--type-page .field--name-field-content {
  font-family: 'Corinthia', cursive;
  font-size: 6rem;
  font-weight: 400;
  line-height: 1.1;
  color: #4a5568;
  text-align: center;
  margin: 60px 0;
}

/* Specific styling for the welcome message */
.node--type-page .field--name-body:contains("Welcome to the party"),
.node--type-page .field--name-field-body:contains("Welcome to the party"),
.node--type-page .field--name-field-content:contains("Welcome to the party") {
  font-family: 'Corinthia', cursive;
  font-size: 8rem;
  font-weight: 700;
  color: #a67a7a;
  text-align: center;
  margin: 80px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* SUPER AGGRESSIVE - Remove white box only on the specific welcome page (node/6) */
body.node--type-page.node--6 .block,
body.node--type-page.node--6 .block *,
body.node--type-page.node--6 .field--name-body,
body.node--type-page.node--6 .field--name-field-body,
body.node--type-page.node--6 .field--name-field-content,
body.node--type-page.node--6 .node__content,
body.node--type-page.node--6 .node__body,
body.node--type-page.node--6 .field--type-text-with-summary,
body.node--type-page.node--6 .field--type-text-long,
body.node--type-page.node--6 .content,
body.node--type-page.node--6 .main-content,
body.node--type-page.node--6 .region-content,
body.node--type-page.node--6 .layout-content,
body.node--type-page.node--6 .layout__region--content,
body.node--type-page.node--6 .container,
body.node--type-page.node--6 .container-fluid,
body.node--type-page.node--6 .row,
body.node--type-page.node--6 .col,
body.node--type-page.node--6 .col-md-8,
body.node--type-page.node--6 .col-lg-8,
body.node--type-page.node--6 .col-xl-8,
body.node--type-page.node--6 .card,
body.node--type-page.node--6 .panel,
body.node--type-page.node--6 .well,
body.node--type-page.node--6 .alert,
body.node--type-page.node--6 .block-content,
body.node--type-page.node--6 .block__content {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force remove ANY white backgrounds on this specific page with maximum specificity */
html body.node--type-page.node--6 * {
  background: transparent !important;
  background-color: transparent !important;
}

/* But keep the page background beige */
html body.node--type-page.node--6,
html body.node--type-page.node--6 #page,
html body.node--type-page.node--6 .main-content,
html body.node--type-page.node--6 .region-content {
  background-color: #f5f5dc !important; /* Light beige */
}
