/* 
 * Monomgisofazuucuaj - Style Sheet
 * Responsive Design with Flexbox and Grid
 */

:root {
  --primary: #1F2A44;
  --accent: #FFA630;
  --background: #F4F6F9;
  --text: #111111;
  --additional: #5AB1BB;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  padding-top: 5rem; /* Space for fixed header */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
ul,li{
  list-style: none;
}
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 7rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow);
}

.btn-primary {
  background-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 3.5rem;
}

/* Navigation */
.nav-container {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(31, 42, 68, 0.85), rgba(31, 42, 68, 0.85)), url('./img/DeuTCl.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.about-text {
  color: var(--text);
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--background);
}

.services-title {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--white);
}

.why-us-title {
  text-align: center;
  margin-bottom: 3rem;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.advantage-item {
  text-align: center;
}

.advantage-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.8rem;
}

/* Certificates Section */
.certificates {
  background-color: var(--background);
}

.certificates-title {
  text-align: center;
  margin-bottom: 3rem;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.certificate-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow);
}

.certificate-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, var(--accent), #ffbe6b);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-btn {
  background-color: var(--white);
  color: var(--accent);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Form Section */
.contact-form {
  background-color: var(--white);
}

.form-title {
  text-align: center;
  margin-bottom: 3rem;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--background);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
}

.error-message {
  background-color: rgba(220, 53, 69, 0.1);
  border-left: 4px solid #dc3545;
  color: #721c24;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.error-message p {
  margin-bottom: 0.5rem;
}

.error-message p:last-child {
  margin-bottom: 0;
}

.success-message {
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
  color: #155724;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background-color: var(--white);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--accent);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.checkbox-group label {
  font-weight: normal;
}

.form-btn {
  align-self: center;
  margin-top: 1rem;
  padding: 1rem 2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(244, 246, 249, 0.9), rgba(244, 246, 249, 0.95)), url('./img/BSU4S9.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.contact-title {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.map img {
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    width: 100%;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 2.5rem;
}

.footer-about p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #ccc;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 400px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 4rem; /* Reduced space for smaller header */
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .header-container {
    padding: 0.3rem 0.5rem;
  }
  
  .logo img {
    height: 2.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .advantages {
    grid-template-columns: 1fr;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Hamburger Menu */
  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }
  
  .hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    top: 8px;
  }
  
  .hamburger span:nth-child(3) {
    top: 16px;
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
  
  nav {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 10px var(--shadow);
  }
  
  #menu-toggle:checked ~ nav {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
  }
  
  .header-container {
    padding: 0.3rem 0.3rem;
  }
  
  .logo img {
    height: 2rem;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .cookie-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
} 