/* 
 * Abbey Lincon UK - Accounting Services Website
 * Main Stylesheet
 */

/* ======= RESET & BASE STYLES ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #1A3A6B;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-accent {
  color: #D4AF37;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

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

.text-right {
  text-align: right;
}

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
}

.col-half {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 1rem;
}

.col-third {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 1rem;
}

.col-two-thirds {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 1rem;
}

.col-fourth {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* ======= HEADER & NAVIGATION ======= */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

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

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #1A3A6B;
}

.logo-text span {
  color: #D4AF37;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #D4AF37;
}

.nav-cta {
  background-color: #1A3A6B;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-cta:hover {
  background-color: #15305A;
  color: white !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1A3A6B;
  cursor: pointer;
}

/* ======= HERO SECTION ======= */
.hero {
  background: linear-gradient(rgba(26, 58, 107, 0.9), rgba(26, 58, 107, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0 6rem;
  margin-top: 85px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #1A3A6B;
  color: white;
  border: 2px solid #1A3A6B;
}

.btn-primary:hover {
  background-color: #15305A;
  border-color: #15305A;
}

.btn-secondary {
  background-color: transparent;
  color: #1A3A6B;
  border: 2px solid #1A3A6B;
}

.btn-secondary:hover {
  background-color: #1A3A6B;
  color: white;
}

.btn-accent {
  background-color: #D4AF37;
  color: white;
  border: 2px solid #D4AF37;
}

.btn-accent:hover {
  background-color: #C09C2C;
  border-color: #C09C2C;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ======= SERVICES SECTION ======= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 58, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  color: #1A3A6B;
  font-size: 1.75rem;
}

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

.service-card p {
  margin-bottom: 1.5rem;
}

/* ======= ABOUT SECTION ======= */
.about-section {
  background-color: #F5F5F5;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  padding: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.about-feature-icon i {
  color: #D4AF37;
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials-section {
  background-color: #1A3A6B;
  color: white;
}

.testimonials-section h2 {
  color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  color: #333333;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin-bottom: 0.25rem;
}

.testimonial-author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #666666;
}

/* ======= CTA SECTION ======= */
.cta-section {
  background: linear-gradient(rgba(26, 58, 107, 0.9), rgba(26, 58, 107, 0.8)), url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ======= CONTACT SECTION ======= */
.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(26, 58, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-icon i {
  color: #1A3A6B;
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ======= FOOTER ======= */
footer {
  background-color: #1A3A6B;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 40px;
}

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

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #D4AF37;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 1rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #D4AF37;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 1023px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 7rem 0 5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .header-container {
    padding: 1rem 1.5rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 6rem 0 4rem;
    margin-top: 70px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .col-half, .col-third, .col-two-thirds, .col-fourth {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-lg {
    padding: 5rem 0;
  }
  
  .about-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 479px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.35rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    display: block;
    width: 100%;
  }
  
  .btn + .btn {
    margin-top: 1rem;
  }
}