/* 
 * Main stylesheet for financial audit company website
 * Colors: dark blue, light turquoise, white, gold, light gray
 */

:root {
  --dark-blue: #1a3365;
  --light-turquoise: #4ecdc4;
  --white: #ffffff;
  --gold: #e6c068;
  --light-gray: #f5f5f5;
  --gray: #707070;
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-blue);
  background-color: var(--light-gray);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--light-turquoise);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dark-blue);
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
}

.section-description {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4af37);
  color: var(--dark-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4af37, var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: var(--dark-blue);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--light-turquoise);
  color: var(--light-turquoise);
}

.btn-outline:hover {
  background: var(--light-turquoise);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

section {
  padding: 5rem 0;
}

/* Header & Navigation */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  max-width: 180px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 1.5rem;
}

.main-nav ul li a {
  color: var(--dark-blue);
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
}

.main-nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--light-turquoise);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.main-nav ul li a:hover:after {
  width: 100%;
}

.contact-btn {
  background-color: var(--light-turquoise);
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px;
}

.contact-btn:hover {
  background-color: var(--dark-blue);
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 5rem;
  background: linear-gradient(to right, var(--white), var(--light-gray));
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

/* Services Section */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background-color: rgba(78, 205, 196, 0.1);
  border-radius: 50%;
  padding: 1.5rem;
}

.service-icon img {
  width: 100%;
  height: auto;
}

/* Details Section */
.details-section {
  background-color: var(--light-gray);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.detail-block {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.detail-block h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--dark-blue);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.detail-icon {
  margin-right: 1rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.detail-item p {
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--dark-blue);
  color: var(--white);
}

.testimonials-section .section-title,
.testimonials-section .section-description {
  color: var(--white);
}

.testimonial-slider {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  overflow-x: hidden;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin: 0 1rem;
  flex: 0 0 calc(33.333% - 2rem);
  transition: var(--transition);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-quote:before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -10px;
  top: -20px;
  color: var(--gold);
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 2px solid var(--gold);
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.testimonial-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.control:hover {
  background-color: var(--gold);
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-benefits li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.benefit-icon {
  color: var(--light-turquoise);
  margin-right: 1rem;
  font-weight: bold;
}

.contact-direct {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--light-turquoise);
  outline: none;
}

textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  transition: var(--transition);
  min-height: 100px;
  resize: vertical;
}

textarea:focus {
  border-color: var(--light-turquoise);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

/* Company Section */
.company-section {
  background-color: var(--light-gray);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.company-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Privacy Summary Section */
.privacy-summary-section {
  background-color: var(--white);
}

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.privacy-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.privacy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.privacy-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  margin-top: 1rem;
}

.link-arrow:after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.link-arrow:hover:after {
  transform: translateX(5px);
}

/* Contact Info Section */
.contact-info-section {
  background-color: var(--light-gray);
}

.contact-info-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-details h2 {
  margin-bottom: 1.5rem;
}

.contact-address, .contact-hours {
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Footer */
.main-footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info p {
  opacity: 0.8;
  margin-top: 1rem;
}

.footer-logo {
  width: 150px;
}

.footer-contact h4, .footer-links h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--light-turquoise);
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  margin-bottom: 0;
  padding-right: 2rem;
}

.btn-accept {
  background-color: var(--gold);
  color: var(--dark-blue);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-accept:hover {
  background-color: var(--light-turquoise);
  color: var(--white);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Main Spacing */
main {
  padding-top: 80px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {

  .hero-section .container {
    flex-direction: column !important;
  }

  .company-grid,
  .contact-grid,
  .contact-info-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .details-grid , .services-grid , .privacy-cards {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 2rem);
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
} 