/*
Theme Name: Unite Child
Theme URI: http://colorlib.com/wp/unite 
Template: unite
Author: Colorlib
Author URI: http://colorlib.com/wp/ 
Description: Unite Child Theme for La Piazz
Version: 1.0.0
*/

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Variables via root */
:root {
  --color-bg: #F8F6F3;
  --color-text: #2C3E50;
  --color-red: #E63946;
  --color-orange: #F4A261;
  --color-gold: #C9A227;
  --color-green: #06D6A0;
  --color-white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

/* Base overrides */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--color-red);
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: var(--color-orange);
}

.mb-0, .mb0 {
  margin-bottom: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  font-weight: 600;
}

h1 {
  font-size: 42px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
  border-radius: 2px;
}

h2 {
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 25px;
  color: var(--color-red);
}

h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Layout */
.entry-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 12px;
}

/* Cards for venues */
.lap-blk {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lap-blk:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.lap-blk::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-gold));
}

.lap-blk-title {
  color: var(--color-red);
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
}

.lap-blk-meta {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Columns inside cards */
.lap-blk .wp-block-columns {
  gap: 20px;
}

.lap-blk .wp-block-column:first-child {
  min-height: 150px;
  background: linear-gradient(135deg, var(--color-bg), #e8e6e3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blockquotes */
.wp-block-quote {
  background: linear-gradient(135deg, var(--color-white), var(--color-bg));
  border-left: 4px solid var(--color-green);
  padding: 20px 42px 20px 25px;
  margin: 30px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  position: relative;
}

.wp-block-quote::before {
  content: '\f10d';
  font-family: 'FontAwesome';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: var(--color-green);
  opacity: 0.3;
}

.wp-block-quote p {
  font-style: italic;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 15px;
}

.wp-block-quote cite {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 14px;
  font-style: normal;
}

/* Lists */
.wp-block-list {
  background: var(--color-white);
  padding: 25px 30px 25px 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 25px 0;
}

.wp-block-list li {
  margin-bottom: 12px;
  position: relative;
}

.wp-block-list li::marker {
  color: var(--color-red);
}

.wp-block-list strong {
  color: var(--color-red);
}

/* Disclaimer */
.disclaimer {
  background: rgba(230, 57, 70, 0.05);
  border: 1px solid rgba(230, 57, 70, 0.2);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 15px;
  color: #666;
  margin-top: 35px;
}

.disclaimer strong {
  color: var(--color-red);
}

/* Highlight text */
.entry-content p strong {
  color: var(--color-red);
}

/* Navigation override */
.navbar.navbar-default {
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
  border: none;
}

.navbar-default .navbar-nav > li > a {
  color: var(--color-white);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: rgba(0,0,0,0.1);
  color: var(--color-white);
}

/* Footer */
#colophon {
  background: var(--color-text);
  margin-top: 50px;
}

/* Compact navbar with logo */
.navbar {
  min-height: 70px;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
}

.navbar > .container {
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
}

.navbar-header {
  float: left;
  margin-left: 0;
  margin-right: 0;
}

.navbar-brand {
  padding: 0;
  height: 70px;
  display: block;
  float: left;
  margin-left: 0;
}

.navbar-brand a {
  display: block;
  text-decoration: none;
  background: var(--color-bg);
  padding: 10px 25px;
  border-radius: 0 0 12px 12px;
  margin-top: -10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 10px;
  height: 10px;
  background: var(--color-red);
  border-radius: 0 10px 0 0;
  box-shadow: 5px -5px 0 5px var(--color-bg);
}

.navbar-brand a::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10px;
  width: 10px;
  height: 10px;
  background: var(--color-orange);
  border-radius: 10px 0 0 0;
  box-shadow: -5px -5px 0 5px var(--color-bg);
}

.navbar-brand a:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.navbar-brand img {
  height: 45px;
  width: auto;
  display: block;
}

.site-title-nav {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
}

/* Nav menu right aligned */
.navbar-collapse {
  float: right;
  padding-right: 0;
}

.navbar-nav {
  margin: 0;
  float: right;
}

.navbar-nav > li {
  float: left;
}

.navbar-nav > li > a {
  padding: 25px 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lap-blk {
  animation: fadeInUp 0.6s ease forwards;
}

.lap-blk:nth-child(2) { animation-delay: 0.1s; }
.lap-blk:nth-child(3) { animation-delay: 0.2s; }
.lap-blk:nth-child(4) { animation-delay: 0.3s; }
.lap-blk:nth-child(5) { animation-delay: 0.4s; }
.lap-blk:nth-child(6) { animation-delay: 0.5s; }

/* Desktop fixes */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .lap-blk {
    padding: 20px;
  }
  
  .lap-blk .wp-block-columns {
    flex-direction: column;
  }
  
  .lap-blk .wp-block-column:first-child {
    min-height: 100px;
    margin-bottom: 15px;
  }
}

/* Mobile fixes */
@media (max-width: 767px) {
  .navbar > .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .navbar-header {
    float: none;
    width: 100%;
    display: block;
    position: relative;
  }
  
  .navbar-brand {
    height: 60px;
    float: left;
    margin-left: 15px;
  }
  
  .navbar-brand a {
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    margin-top: -8px;
  }
  
  /* Remove pseudo elements that cause overflow */
  .navbar-brand a::before,
  .navbar-brand a::after {
    display: none;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .navbar-toggle {
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    border-color: rgba(255,255,255,0.3);
  }
  
  .navbar-collapse {
    float: none;
    clear: both;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  
  .navbar-nav {
    float: none;
    margin: 0;
  }
  
  .navbar-nav > li {
    float: none;
    display: block;
  }
  
  .navbar-nav > li > a {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* Extra small devices */
@media (max-width: 424.5px) {
  .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 8px;
    padding-left: 8px;
  }
  
  .entry-content {
    padding: 12px 6px;
  }
  
  .hentry {
    margin: 0 0 .35em !important;
  }
  
  #colophon {
    margin-top: 12px;
  }
}