/* 
  Rock Theme CSS
  Oil & Gas Representative Firm Website
*/

/* ===== Base Styles ===== */
:root {
  --primary-color: #333333; /* Dark gray from logo */
  --secondary-color: #c22121; /* Red from logo */
  --dark-color: #1a1a1a;
  --light-color: #f5f7fa;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #28a745;
  --white: #ffffff;
  --black: #000000;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn-primary, 
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 3px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-heading);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #a51c1c;
  color: var(--white);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #222222;
}

.btn-text {
  font-weight: 600;
  display: inline-block;
  position: relative;
  color: var(--secondary-color);
}

.btn-text:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.btn-text:hover:after {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  padding: 1rem 0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  max-height: 60px;
  width: auto;
}

.footer-logo-image {
  max-height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

/* Remove the old logo styles that we're not using anymore */
.logo-container,
.logo-main,
.logo-tagline {
  display: none;
}

.main-nav ul {
  display: flex;
}

.main-nav li:not(:last-child) {
  margin-right: 1.5rem;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-color);
  padding: 0.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  color: var(--white);
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.8); /* Dark overlay using the dark color from the theme */
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ===== Services Overview ===== */
.services-overview {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0.8rem auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 5px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ===== About Preview ===== */
.about-preview {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.about-content h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0.8rem 0 0;
}

.about-image {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== CTA Section ===== */
.cta {
  background: linear-gradient(to right, var(--primary-color), #2a2a2a);
  border-top: 5px solid var(--secondary-color);
  padding: 5rem 0;
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--dark-color);
  color: var(--light-gray);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-info {
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo-main {
  color: var(--white);
}

.footer-logo .logo-tagline {
  color: var(--light-gray);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h3:after,
.footer-contact h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
  margin-top: 0.8rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 0.8rem;
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(rgba(20, 39, 54, 0.85), rgba(20, 39, 54, 0.85)), url('/images/page-header.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--white);
}

/* ===== Page Content ===== */
.page-content {
  padding: 5rem 0;
  background-color: var(--white);
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.page-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--dark-color);
  position: relative;
}

.page-content h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0.8rem 0 0;
}

.page-content h3 {
  font-size: 1.5rem;
  margin: 1.8rem 0 1rem;
  color: var(--primary-color);
}

.page-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content ul li {
  margin-bottom: 0.8rem;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 700px;
  margin: 2rem auto 3rem;
  background-color: var(--light-color);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.contact-form .btn-primary {
  margin-top: 1rem;
  width: 100%;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav li {
    margin: 0 !important;
    text-align: center;
  }
  
  .main-nav a {
    display: block;
    padding: 0.8rem;
  }
  
  .hero {
    height: 80vh;
    padding: 5rem 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .about-content h2,
  .section-header h2,
  .cta h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== WhatsApp Button ===== */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.whatsapp-button i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} 