/* Pizza 73 Website Styles */
:root {
  --primary-color: #0051a4; /* Pizza 73 Blue */
  --accent-color: #ffcf00; /* Pizza 73 Yellow */
  --light-color: #ffffff;
  --dark-color: #111111;
  --gray-color: #f4f4f4;
  --text-color: #333333;
  --success-color: #28a745;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Roboto', sans-serif;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

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

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
  cursor: pointer;
}

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

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

nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 81, 164, 0.8), rgba(0, 81, 164, 0.8)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-color);
  text-align: center;
  padding: 5rem 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffd633;
  transform: translateY(-2px);
}

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

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

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

/* Blog Section */
.blog-section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-family: var(--font-heading);
}

.section-heading h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

.section-heading p {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 0;
}

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

.post-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: #666;
}

.post-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

.post-meta span {
  margin-right: 15px;
}

.post-excerpt {
  margin-bottom: 1.2rem;
  color: var(--text-color);
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s;
  display: inline-block;
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Single Post Styles */
.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.post-content-full {
  max-width: 800px;
  margin: 0 auto;
}

.post-content-full p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.post-content-full h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
}

.post-content-full h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
}

.post-content-full ul, 
.post-content-full ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content-full li {
  margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background-color: var(--gray-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* App Download Section */
.app-section {
  padding: 4rem 0;
  background: linear-gradient(rgba(0, 81, 164, 0.9), rgba(0, 81, 164, 0.9)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-color);
  text-align: center;
}

.app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.app-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.app-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.app-buttons {
  display: flex;
  gap: 1rem;
}

.app-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--light-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.app-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.app-button i {
  font-size: 1.5rem;
  margin-right: 10px;
}

/* About Us Section */
.team-section {
  padding: 4rem 0;
}

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

.team-card {
  text-align: center;
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-info p {
  margin-bottom: 1rem;
}

.team-info p:first-of-type {
  color: var(--accent-color);
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: color 0.3s;
}

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

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--gray-color);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

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

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  min-width: 30px;
}

.contact-details h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

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

.form-group.error .form-control {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

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

.footer-logo p {
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: var(--light-color);
  font-size: 1.3rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent-color);
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

.accept-cookies {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.customize-cookies {
  background-color: transparent;
  border: 1px solid var(--light-color);
  color: var(--light-color);
}

.decline-cookies {
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* Thank You Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
}

.modal-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.modal h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    height: 100vh;
    width: 250px;
    padding: 4rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 999;
  }
  
  nav.open {
    transform: translateX(0);
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 1rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .app-buttons {
    flex-direction: column;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}
