/* Base styles */
:root {
  --primary-color: #c41e3a; /* Deep red from Rockland branding */
  --secondary-color: #333;
  --accent-color: #f8f8f8;
  --text-color: #333;
  --light-text: #fff;
  --border-color: #ddd;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: 2px solid var(--primary-color);
}

.primary-btn:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.secondary-btn {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}

.secondary-btn:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}

.outline-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.outline-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
}

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

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/headquarters.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  margin-top: 0;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Page banner */
.page-banner {
  height: 40vh;
  min-height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/headquarters.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  margin-top: 80px;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.banner-content p {
  font-size: 1.2rem;
}

/* Features section */
.features {
  background-color: var(--accent-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* About preview section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
}

/* Gemstone preview section */
.gemstone-preview {
  background-color: var(--accent-color);
  text-align: center;
}

.gemstone-preview h2 {
  margin-bottom: 40px;
  color: var(--primary-color);
}

.gemstone-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.gemstone-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.gemstone-image {
  height: 250px;
  overflow: hidden;
}

.gemstone-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gemstone-card:hover .gemstone-image img {
  transform: scale(1.1);
}

.gemstone-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.5rem;
}

.gemstone-card p {
  padding: 0 20px 20px;
}

.center-btn {
  text-align: center;
}

/* FAQ section */
.faq {
  background-color: white;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

summary {
  padding: 20px;
  background-color: var(--accent-color);
  cursor: pointer;
  font-weight: 600;
  position: relative;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  transition: var(--transition);
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  padding: 20px;
  background-color: white;
}

/* CTA section */
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/gemstones-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 80px 0 20px;
}

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

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary-color);
}

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

/* Responsive styles */
@media (max-width: 992px) {
  .about-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image {
    order: -1;
  }
  
  .service-detail-grid.reverse .service-detail-image {
    order: -1;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .banner-content h1 {
    font-size: 2.2rem;
  }
}

/* Animation styles for AOS library */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.8s, opacity 0.8s;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
