/* Base styles */
 body {
     margin: 0;
     font-family: sans-serif;
     background-color: #121212;
     color: #e0e0e0;
}
/* Header and nav */
 header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0.5rem 1rem;
     background-color: #1e1e1e;
}
 .logo {
     height: 12vh;
     width: auto;
     margin: 0;
     padding: 0;
}
 nav a {
     color: #e0e0e0;
     margin-left: 1.5rem;
     text-decoration: none;
	 font-size: 1.25rem;
}
nav a:hover {
  font-weight: bold;
}
 .hamburger {
     display: none;
     font-size: 2rem;
     color: #e0e0e0;
     cursor: pointer;
}
/* Responsive Nav */
 @media (max-width: 768px) {
     .hamburger {
         display: block;
    }
     .nav-links {
         display: none;
         flex-direction: column;
         position: absolute;
         top: 60px;
         right: 1rem;
         background-color: #1e1e1e;
         padding: 1rem;
         border-radius: 8px;
         z-index: 1000;
    }
     .nav-links a {
         margin: 0.5rem 0;
    }
     .nav-links.active {
         display: flex;
    }
}
/* Hero */
 .hero {
     position: relative;
     height: 100vh;
     background: url('../images/ED-RIG.jpg') center center / cover no-repeat;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     color: white;
     padding: 4rem 2rem;
}
 .hero-overlay {
     background: rgba(0, 0, 0, 0.5);
     padding: 2rem;
     border-radius: 8px;
}
 .hero h1 {
     font-size: 3rem;
     margin-bottom: 1rem;
}
 .hero p {
     font-size: 1.5rem;
     margin-bottom: 2rem;
}
 .hero-btn {
     display: inline-block;
     padding: 0.75rem 2rem;
     background-color: #FF6600;
     color: white;
     text-decoration: none;
     font-weight: bold;
     border-radius: 4px;
     transition: background 0.3s ease;
}
 .hero-btn:hover {
     background-color: #cc5200;
}

@media (max-width: 768px) {
  .hero {
    background-position: 75% center; /* or try: top center */
    padding: 6rem 1rem;
    height: auto; /* Optional: let content size the section */
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.125rem;
  }
}

/* Override just for Rig 1 page */
 .rig22-page .hero {
     background-image: url('../images/Rig22c.png');
}
 .rig15-page .hero {
     background-image: url('../images/rig15.jpg');
}
 .rig16-page .hero {
     background-image: url('../images/thumbnail_IMG_4849b.jpg');
}
 .rig14-page .hero {
     background-image: url('../images/Rig 14.JPG');
}
 .rig18-page .hero {
     background-image: url('../images/thumbnail_IMG_4849b.jpg');
}
/* Content sections */
 .content-section {
     padding: 3rem 2rem;
}
 #about p {
     font-size: 1.25rem;
     line-height: 1.6;
}
/* Section titles */
 .section-title {
     font-size: 2rem;
     margin-bottom: 2rem;
     color: #ffffff;
     border-bottom: 2px solid #444;
     padding-bottom: 0.5rem;
     width: 100%;
}
/* Rig specs - two-column layout */
 .rig-spec-columns {
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
}
 .rig-column {
     flex: 1 1 45%;
     min-width: 300px;
}
 .rig-spec-group {
     margin-bottom: 2rem;
}
 .rig-spec-group h3 {
     color: #ffcc00;
     margin-bottom: 0.5rem;
     font-size: 1.25rem;
}
 .rig-spec-group ul {
     padding-left: 1.25rem;
     list-style-type: disc;
}
 .rig-spec-group ul li {
     margin-bottom: 0.5rem;
}
/* Rig cards (main page) */
 .rig-cards {
     display: flex;
     justify-content: space-around;
     flex-wrap: wrap;
     gap: 2rem;
}
 .rig-card {
     background: #1e1e1e;
     padding: 1rem;
     border-radius: 8px;
     width: 300px;
     text-align: center;
     transition: transform 0.3s ease;
}
 .rig-card img {
     width: 100%;
     height: 200px;
     object-fit: contain;
     object-position: bottom;
     border-radius: 8px;
}
 .rig-card:hover {
     transform: translateY(-10px);
}
 .rig-layout-image img {
     max-width: 100%;
     height: auto;
     display: block;
     margin: 0 auto;
}
 .button {
     display: inline-block;
     margin-top: 1rem;
     padding: 0.5rem 1rem;
     background: #FF6600;
     color: white;
     text-decoration: none;
     border-radius: 4px;
}
/* Footer */
 footer {
     text-align: center;
     padding: 2rem;
     background: #1e1e1e;
     margin-top: 2rem;
}
/* Contact Section Layout */
 .contact-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
    /* Makes it responsive for small screens */
     padding: 1rem 2rem;
     gap: 1rem;
}
/* Contact Address Styling */
 .contact-address {
     margin: 0;
     flex: 1;
     text-align: left;
     line-height: 1.6;
}
 #contact p {
     font-size: 1.125rem;
     line-height: 1.6;
}
/* Logo Styling */
 .contact-logo {
     height: 40px;
     width: auto;
}
 .site-footer {
     padding: 1rem 2rem;
     background-color: #1e1e1e;
     color: #e0e0e0;
}
 .footer-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
}
 .footer-logo {
     height: 80px;
    /* Smaller height for footer */
     width: auto;
}
 