/* Kilgore Construction - Modern High-End Contractor CSS */

:root {
  --primary: #1a2238;
  --secondary: #9daaf2;
  --accent: #f4d160;
  --background: #f5f6fa;
  --text: #222;
  --white: #fff;
  --gray: #e5e7eb;
  --shadow: 0 4px 24px rgba(30,40,90,0.08);
  --radius: 4px;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

html, body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0 !important;
  padding: 0 !important;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background: transparent !important;
  box-shadow: none !important;
  position: fixed !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 100 !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  transition: background 0.3s !important;
  overflow: visible !important;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 2rem;
}
.nav-logo {
  background: transparent !important;
  border-radius: 4px;
  box-shadow: none !important;
  padding: 0.15rem 0.7rem 0.15rem 0.3rem;
  display: flex;
  align-items: center;
  margin-right: 2.2rem;
  overflow: visible !important;
  margin-bottom: -60px;
  padding-bottom: 0;
  background: rgba(255,255,255,0.55);
  padding: 0.1rem 0.6rem 0.1rem 0.6rem;
  box-shadow: 0 2px 12px rgba(30,40,90,0.10);
  transition: background 0.2s;
}
.logo-img {
  height: 150px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(30,40,90,0.10));
  transition: transform 0.18s;
  max-height: none;
}
.logo-img:hover {
  transform: scale(1.04) rotate(-2deg);
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition);
  text-shadow: 
    -1px -1px 0 rgba(0,0,0,0.3),
    1px -1px 0 rgba(0,0,0,0.3),
    -1px 1px 0 rgba(0,0,0,0.3),
    1px 1px 0 rgba(0,0,0,0.3);
  padding: 0.5rem 1rem;
}
.nav-link:hover {
  color: var(--accent);
  text-shadow: 
    -1px -1px 0 rgba(0,0,0,0.5),
    1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5),
    1px 1px 0 rgba(0,0,0,0.5);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
}

/* Hero Section */
.hero {
  color: var(--white) !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: none !important;
}
.hero::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  opacity: 1;
  background: linear-gradient(rgba(26,34,56,0.25), rgba(26,34,56,0.25)), url('../images/hero-background.jpg') 75% center/cover no-repeat !important;
  background-size: 103.4% auto !important;
  background-position: 75% center !important;
  pointer-events: none !important;
}
.hero-content {
  z-index: 2 !important;
  position: relative !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  margin-top: -5vh !important;
}
.hero-logo {
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  display: inline-block;
}
.hero-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0.1) 60%, transparent 75%);
  border-radius: 1rem;
  z-index: -1;
  padding: 0.5rem;
}
.hero-logo-img {
  max-width: 650px;
  width: 100%;
  height: auto;
  filter: 
    drop-shadow(0 6px 20px rgba(0,0,0,0.4))
    drop-shadow(1px 1px 0px rgba(0,0,0,0.4))
    drop-shadow(-1px -1px 0px rgba(0,0,0,0.4))
    drop-shadow(1px -1px 0px rgba(0,0,0,0.4))
    drop-shadow(-1px 1px 0px rgba(0,0,0,0.4));
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.btn {
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--secondary);
  color: var(--primary);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-header p {
  color: #555;
  font-size: 1.1rem;
}

/* Services */
.services {
  padding: 4rem 0 2rem 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--background);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30,40,90,0.12);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 12px rgba(30,40,90,0.08);
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  margin-top: 0.5rem;
}
.service-card p {
  color: #444;
  font-size: 1rem;
}

/* About */
.about {
  padding: 4rem 0 2rem 0;
  background: var(--background);
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-text {
  flex: 1 1 350px;
}
.about-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* Projects */
.projects {
  padding: 4rem 0 2rem 0;
  background: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.project-card {
  background: var(--background);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30,40,90,0.12);
}
.project-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.project-info {
  padding: 1.2rem 1rem 1.5rem 1rem;
}
.project-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.project-info p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.project-category {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 3px;
  padding: 0.2rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Recent Projects / Instagram */
.recent-projects {
  padding: 4rem 0 2rem 0;
  background: var(--white);
}
.instagram-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.instagram-post {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}
.instagram-post .instagram-media {
  margin: 0 auto !important;
  max-width: 100% !important;
}
.instagram-cta {
  text-align: center;
  margin-top: 2rem;
}
.instagram-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.instagram-cta .btn i {
  font-size: 1.2rem;
}

/* Photo Library */
.photo-library {
  padding: 4rem 0 2rem 0;
  background: var(--background);
}
.library-image-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.slideshow-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.slideshow-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--gray);
  cursor: pointer;
  transition: background 0.3s ease;
}
.nav-dot.active {
  background: var(--accent);
}
.nav-dot:hover {
  background: var(--accent);
}
.library-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,34,56,0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.95;
}
.library-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Contact */
.contact {
  padding: 4rem 0 2rem 0;
  background: var(--white);
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
}
.contact-form {
  flex: 2 1 400px;
  background: var(--background);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  transition: border var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}
button[type="submit"] {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
button[type="submit"]:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0 1rem 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  justify-content: space-between;
}
.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
}
.footer-section h3, .footer-section h4 {
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-section ul li a:hover {
  color: var(--accent);
}
.social-links a {
  color: var(--white);
  font-size: 1.3rem;
  margin-right: 1rem;
  transition: color var(--transition);
}
.social-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  color: #bfc9e0;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .nav-container, .footer-content, .about-content, .contact-content {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }
  .services-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .section-header h2 {
    font-size: 1.4rem;
  }
  .about-image img, .library-image-container img {
    max-width: 100%;
  }
  .btn, button[type="submit"] {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 700px) {
  .logo-img { height: 90px; }
  .nav-logo { margin-bottom: -32px; }
} 

.gallery-header { text-align: center; }
.gallery-header h2 { font-size: clamp(2rem,4.5vw,2.6rem); color: #1a2238; margin-bottom: .5rem; display: block; margin-left: auto; margin-right: auto; }
.gallery-header .intro { max-width: 700px; margin: 0 auto 2.2rem auto; color: #374151; font-size: 1.05rem; display: block; margin-left: auto; margin-right: auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  justify-content: center;
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
} 

.gallery-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
@media (min-width: 700px) {
  .gallery-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .gallery-category-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-category-card:last-child {
    grid-column: 2 / span 2;
  }
}
.gallery-category-card {
  background: #f5f6fa;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(30,40,90,0.06);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  transition: box-shadow 0.18s, transform 0.18s;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.gallery-category-card:hover {
  box-shadow: 0 8px 32px rgba(30,40,90,0.13);
  transform: scale(1.0125);
}
.gallery-category-card::before { display: none; }
.gallery-category-card h3 {
  color: #1a2238;
  font-size: 1.13rem;
  margin: 1.1rem 1.1rem 0.3rem 1.1rem;
  font-weight: 700;
  margin-top: 1.1rem;
}
.gallery-category-card .desc {
  color: #374151;
  font-size: 0.98rem;
  margin: 0 1.1rem 0.7rem 1.1rem;
  font-weight: 400;
}
.gallery-category-placeholder {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(26,34,56,0.13);
  color: #1a2238;
  border-radius: 0 0 4px 4px;
  padding: 0.7rem 0.5rem;
  font-size: 0.98rem;
  font-weight: 500;
  width: 100%;
  margin: 0;
  box-shadow: none;
  letter-spacing: 0.01em;
  text-align: center;
  opacity: 0.95;
  pointer-events: none;
} 