/* Main CSS for IPAH Website */

:root {
  --primary-color: #E96A43;
  --secondary-color: #75302C;
  --text-color: #333333;
  --light-text: #FFFFFF;
  --background-color: #FFFFFF;
  --footer-bg: #75302C;
  --newsletter-bg: #75302C;
  --border-radius: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, .h1 .h2 {
  color: inherit !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-size: 3rem;
  line-height: 70%;
  letter-spacing: 0 !important;
}

h3, .h3{
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 700 !important;
  font-size: 3rem;
}

p {
  color:inherit !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-image: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 40px;
  box-sizing: border-box;
  border: none;
}

.btn-primary:hover {
  background-image: linear-gradient(180deg, #f09a3e 0%, #d43e3f 100%);
  color: #ffffff;
}

.btn-outline {
  border: 2px solid var(--light-text);
  color: var(--light-text);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn.btn-white,
.btn.btn-outline.btn-white {
  background-color: rgba(255, 255, 255, 1) !important;
  color: #262626 !important;
  border-color: rgba(255, 255, 255, 1) !important;
  border: 2px solid rgba(255, 255, 255, 1) !important;
}

.btn.btn-white:hover,
.btn.btn-outline.btn-white:hover {
  background-color: rgba(245, 245, 245, 1) !important;
  border-color: rgba(245, 245, 245, 1) !important;
}

.btn-subscribe {
  background-color: #75302C;
  color: var(--light-text);
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  font-weight: 500;
  min-width: 120px;
  transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
  background-color: #8a3a35;
}

.arrow-right {
  margin-left: 5px;
}

/* Navbar */
.navbar {
  background-color: var(--background-color);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px; /* Fixed height for the navbar */
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links ul {
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-color) !important;
}

.join-button {
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assests/hero.png');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  padding: 150px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px !important;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text) !important;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Note: Membership-home styles moved to home-membership.css */

/* Newsletter */
.newsletter {
  background-color: var(--newsletter-bg);
  color: var(--light-text);
  padding: 40px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.newsletter p {
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  background: white;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
}

/* Footer */
.footer {
  margin-top: 2rem; /* Add margin to the top of the entire footer */
}

.footer-content {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  width: 80px;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-info h3,
.footer-contact h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.footer-links ul,
.footer-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-info a {
  color: var(--light-text);
  opacity: 0.8;
}

.footer-links a:hover,
.footer-info a:hover {
  opacity: 1;
}

.footer-contact address {
  font-style: normal;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon-footer {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  opacity: 0.7;
  font-size: 14px;
}

/* Media Queries */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .newsletter-form {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 480px) {
  .newsletter-form input {
    padding: 14px 15px;
    font-size: 14px;
  }
  
  .btn-subscribe {
    padding: 10px 15px;
    font-size: 14px;
    min-width: 100px;
  }
}