/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Arimo", sans-serif;
    background-color: #fbfbf9;
    color: #333333;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Page Styles */
.about-hero {
    background-color: #b0a392;
    color: #ffffff;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-hero .hero-logo {
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.about-hero .hero-logo img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.about-hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin: 0;
}

.about-story {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

.about-story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: #555555;
}

.philosophy {
    background-color: #f9f7f5;
    padding: 5rem 2rem;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555555;
}

.philosophy-text p:last-child {
    color: #b0a392;
    font-size: 1.4rem;
    margin-top: 2rem;
    font-style: italic;
}

.mission-vision {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mission,
.vision {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    padding: 2rem;
    background-color: #f9f7f5;
    border-radius: 10px;
}

.mission h2,
.vision h2 {
    color: #333333;
    margin-bottom: 1.5rem;
}

.mission p,
.vision p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555555;
}

.values {
    background-color: #f9f7f5;
    padding: 5rem 2rem;
}

.values-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--value-index, 0) * 0.2s);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(176, 163, 146, 0.2);
    border-color: #b0a392;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
}

.value-card h3 {
    color: #333333;
    margin-bottom: 1rem;
}

.value-card p {
    color: #555555;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

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

h1,
h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

h3 {
    font-family: "Arimo", sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
header {
    background-color: #333333;
    color: #fbfbf9;
    padding: 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.5s ease;
    position: relative;
    display: inline-block;
}

.logo a {
    display: inline-block;
    transition: all 0.5s ease;
    background: linear-gradient(to right, #fbfbf9, #fbfbf9 50%, #b0a392 50%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    background-position: 100%;
}

.logo:hover a {
    background-position: 0 100%;
    letter-spacing: 2px;
    transform: scale(1.05);
}

.logo::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #b0a392;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul a {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

nav ul a:hover {
    color: #b0a392;
}

nav ul a.active {
    color: #b0a392;
}

nav ul a.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #b0a392;
    transform-origin: center;
    animation: underlineAppear 0.3s ease forwards;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fbfbf9;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6.5px, 6.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6.5px, -6.5px);
}

@keyframes underlineAppear {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Hero Section */
.hero {
    /* background-image: url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?q=80&w=1974&auto=format&fit=crop"); */
    background-image: url("img/hero.png");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #fbfbf9;
    text-align: center;
    padding: 8rem 1rem;
    position: relative;
}

.hero-content {
    max-width: 50%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: scaleIn 1s ease-out;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-logo img {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

.hero-content:hover {
    transform: scale(1.02);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 br {
    display: block;
    content: "";
    margin-top: 0.5rem;
}

.cta-button {
    background-color: #b0a392;
    color: #fbfbf9;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #9c8c77;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(176, 163, 146, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333333;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555555;
}

.about p:last-child {
    font-style: italic;
    color: #b0a392;
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Services Section */
.services {
    padding: 4rem 1rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #ffffff;
    border: 1px solid #b0a392;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(176, 163, 146, 0.2);
    border-color: #9c8c77;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: #b0a392;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.card h3 {
    font-family: "Arimo", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}

/* Why Choose Section */
.why-choose {
    background-color: #f9f7f5;
    padding: 5rem 2rem;
    text-align: center;
}

.why-choose-content {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333333;
}

.why-choose .tagline {
    font-size: 1.5rem;
    color: #b0a392;
    margin-bottom: 2rem;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
}

.why-choose .intro {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.why-choose .subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #555555;
}

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

.feature {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--feature-index, 0) * 0.2s);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(176, 163, 146, 0.2);
    border-color: #b0a392;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature h3 {
    font-family: "Arimo", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333333;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature p {
    color: #555555;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

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

.cta-container {
    margin-top: 4rem;
}

/* How It Works Section */
.how-it-works {
    background-color: #f0f0f0;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.how-it-works h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #b0a392, transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.how-it-works.animate-on-scroll.visible h2::after {
    transform: scaleX(1);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: none;
    transition: all 0.3s ease;
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(176, 163, 146, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(176, 163, 146, 0.2);
    border-color: #b0a392;
}

.step span {
    background-color: #b0a392;
    color: #fbfbf9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover span {
    transform: scale(1.1);
    background-color: #9c8c77;
    box-shadow: 0 0 15px rgba(176, 163, 146, 0.5);
}

.step p {
    transition: all 0.3s ease;
    position: relative;
}

.step:hover p {
    color: #b0a392;
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 4rem 1rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 1px solid #9c8c77;
    border-radius: 5px;
    font-family: "Arimo", sans-serif;
}

#contact-form button {
    background-color: #b0a392;
    color: #fbfbf9;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #9c8c77;
}

/* Footer */
footer {
    background-color: #333333;
    color: #fbfbf9;
    text-align: center;
    padding: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Navigation */
    header {
        position: relative;
        z-index: 1000;
    }

    nav {
        flex-wrap: wrap;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 2;
    }

    .logo {
        order: 1;
        font-size: 1.5rem;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        order: 3;
        gap: 0;
        background-color: #333333;
        padding: 0;
        margin-top: 1rem;
        border-top: 1px solid #555555;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition:
            max-height 0.3s ease,
            opacity 0.3s ease,
            padding 0.3s ease;
        transform-origin: top;
    }

    nav ul.active {
        max-height: 500px;
        opacity: 1;
        padding: 1rem 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #444444;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul a {
        display: block;
        padding: 0.5rem 1rem;
        width: 100%;
    }

    nav ul a.active::after {
        display: none;
    }

    /* Hero Section */
    .hero-content {
        max-width: 90%;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 br {
        display: inline;
    }

    /* Service Cards */
    .service-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    /* About Hero */
    .about-hero h1 {
        font-size: 2.5rem;
    }

    /* Mission Vision */
    .mission-vision-container {
        flex-direction: column;
        gap: 2rem;
    }

    .mission,
    .vision {
        max-width: 100%;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 100%;
        max-width: 300px;
    }
}
