/*
Theme Name: ASEKU PHU ASEKURACJA
Theme URI: https://aseku.pl
Author: Jakub Piaszczyk
Author URI: https://seoholic.pl
Description: Profesjonalny motyw WordPress dla firmy PHU ASEKURACJA - systemy zabezpieczeń i automatyki domowej
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aseku
Tags: business, security, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

@font-face {
  font-family: "Slant";
  src: url("fonts/SLANT.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-red: #c51f1f;
  --dark-gray: #1a1a1a;
  --medium-gray: #4a4a4a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

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

/* Header Styles */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 10px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-info a,
.contact-info span {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--primary-red);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--white);
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-red);
}

.header-main {
  padding: 20px 0;
}

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

.site-logo img {
  height: 60px;
  width: auto;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-navigation a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  padding: 5px 0;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-gray);
}

/* Hero Section */
.hero-section {
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url("images/ASEKU-2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.75);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: "Slant", sans-serif;
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-red);
}

.hero-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: 2px solid var(--primary-red);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-red);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.section-title {
  font-family: "Slant", sans-serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark-gray);
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-red);
  margin: 20px auto 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: var(--medium-gray);
}

.about-highlight {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px var(--shadow);
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--white);
}

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

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(197, 31, 31, 0.2);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-content {
  padding: 25px;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.service-description {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  color: var(--white);
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-title::after {
  background-color: var(--primary-red);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item-icon {
  font-size: 24px;
  color: var(--primary-red);
  min-width: 30px;
}

.contact-item-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-item-content p,
.contact-item-content a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
}

.contact-item-content a:hover {
  color: var(--primary-red);
  transition: color 0.3s;
}

.call-button {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s;
  margin-top: 20px;
  border: 2px solid var(--primary-red);
}

.call-button:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  width: 100%;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #a01818;
}

/* Footer */
.site-footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 40px 0 20px;
}

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

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--primary-red);
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--primary-red);
}

.footer-map {
  margin: 40px 0 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-map iframe {
  display: block;
}

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

.footer-credit {
  margin-top: 10px;
  font-size: 13px;
}

.footer-credit a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: #ff3333;
  text-decoration: underline;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px var(--shadow);
  }

  .main-navigation.active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid #e0e0e0;
  }

  .main-navigation a {
    display: block;
    padding: 15px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .header-top .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .hide-mobile {
    display: none !important;
  }

  .contact-info {
    justify-content: center;
  }

  .fade-in {
    transform: translateY(20px);
  }

  .footer-map iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }
}
