/* Enhanced styling for Irongate Roofing Site */

:root {
  --primary-brown: #C69453;
  --dark-brown: #594431;
  --gold: #DAB404;
  --light-bg: #f8f7f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #ffffff;
  color: #333;
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header & Navigation Improvements */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-branding {
  padding: 10px 0;
}

.site-branding img {
  max-height: 60px;
  width: auto;
}

#site-navigation .menu > ul > li > a,
#site-navigation .menu > li > a {
  position: relative;
  padding: 8px 12px;
  transition: color 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#site-navigation .menu > ul > li > a:hover,
#site-navigation .menu > li > a:hover {
  color: var(--primary-brown);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
}

/* Main Content Area */
.site-main {
  background: #ffffff;
  padding: 40px 20px;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #1a1a1a;
}

h1 { font-size: 2.5rem; margin: 30px 0 20px; }
h2 { font-size: 2rem; margin: 25px 0 15px; }
h3 { font-size: 1.5rem; margin: 20px 0 12px; }

p {
  margin-bottom: 16px;
  color: #555;
}

/* Buttons */
button, input[type="button"], input[type="reset"], input[type="submit"],
.vc_btn3-color-grey, .wp-block-button__link {
  background: linear-gradient(135deg, var(--gold) 0%, #c8a501 100%);
  color: #fff !important;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(218, 180, 4, 0.3);
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,
.vc_btn3-color-grey:hover, .wp-block-button__link:hover {
  background: linear-gradient(135deg, #c8a501 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(218, 180, 4, 0.4);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #3d2b1f 100%);
  color: #fff;
  padding: 60px 20px 30px;
  margin-top: 60px;
}

.site-footer h3,
.site-footer .widget-title {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-brown);
  padding-bottom: 10px;
}

.site-footer a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

.copyright {
  background: var(--primary-brown);
  text-align: center;
  padding: 15px;
  color: #fff;
  font-weight: 500;
  margin-top: 30px;
}

/* Hero/Banner Section */
.big-title, .big-title--single {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  min-height: 300px;
}

.big-title:after, .big-title--single:after {
  background: rgba(89, 68, 49, 0.75);
}

.big-title .entry-title, .big-title--single .entry-title {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Professional CTA Button (like bakerroofing.com) */
.cta-button-primary {
  display: inline-block;
  background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
  color: #fff !important;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta-button-primary:hover {
  background: linear-gradient(135deg, #a01830 0%, #c41e3a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

/* Drone Gallery Section */
.drone-gallery {
  padding: 80px 20px;
  background: #f8f7f5;
}

.drone-gallery-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.drone-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.drone-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.drone-photo:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

.drone-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.drone-photo:hover img {
  transform: scale(1.05);
}

/* Card/Box Styling */
.wpb_single_image,
.vc_gitem-post-data,
article,
.post {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

article:hover, .post:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.entry-content img,
.post-thumbnail img {
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 12px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-brown);
  box-shadow: 0 0 0 3px rgba(198, 148, 83, 0.1);
  outline: none;
}

/* Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
}

/* Sidebar */
.sidebar,
.wpb_widgetised_column {
  background: var(--light-bg);
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
}

.sidebar .widget-title,
.wpb_widgetised_column .widget-title {
  background: var(--primary-brown);
  color: #fff;
  padding: 12px 15px;
  margin: -20px -20px 15px -20px;
  border-radius: 6px 6px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .site-main {
    padding: 20px 15px;
  }

  button, input[type="button"], input[type="reset"], input[type="submit"] {
    width: 100%;
  }
}

/* Hide problematic WPBakery elements that need JavaScript */
.vc_progress_bar,
.vc_pie,
.rev-slider {
  display: none !important;
}
