/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
    height: 90px; /* Fixed height that won't change */
    overflow: visible;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Add this */
    height: 100%; /* Add this */
}

.logo {
    height: 90px; /* Make this as large as you want */
    width: auto;
    margin: 0;
    padding: 0;
    position: absolute; /* Position it absolutely */
    left: 0; /* Align to left */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Perfect vertical centering */
    object-fit: contain;
}

.nav-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; 
    z-index: 5;
    margin-left: auto; /* Push to the right */
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    background-color: rgba(1, 22, 39, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    background-color: rgba(253, 255, 252, 0.9);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Philosophy section */
.philosophy {
    padding: 100px 0;
    position: relative;
    background-color: var(--light);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.philosophy-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.philosophy-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.philosophy-item:hover {
    transform: translateY(-5px);
}

.philosophy-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.philosophy-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Gallery section */
.gallery {
    padding: 100px 0;
    background-color: var(--dark);
    color: var(--light);
}

.gallery-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* CTA section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--primary);
    color: var(--light);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--light);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 50px 0;
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
  }
  
  /* NEW wrapper to handle shape, spacing, border */
  .footer-logo-wrapper {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    border-radius: 20%;
    background-color: white;
    border: 6px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
  }

  .footer-logo {
    width: 100%;
    height: auto;
  }

.footer-text {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

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

.footer-link:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--light);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
}

/* Email signup popup */
.email-signup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 99;
    max-width: 350px;
    transform: translateY(120%);
    transition: transform 0.5s ease;
}

.email-signup.show {
    transform: translateY(0);
}

.email-signup-inner h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.email-signup-inner p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.email-signup-inner form {
    display: flex;
    gap: 10px;
}

.email-signup-inner input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.email-signup-inner button {
    padding: 10px 15px;
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.email-signup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}