:root {
    --color-terracotta: #712B13;
    --color-olive: #3B6D11;
    --color-cream: #F1EFE8;
    --color-rose: #F5C4B3;
    --color-white: #FFFFFF;
    --color-text: #2C2C2C;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --spacing-section: 4rem;
    --border-radius: 10px;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

.terracota {
    color: var(--color-terracotta);
}

.olive {
    color: var(--color-olive);
}

.header-logo {
    height: 70px;
    width: auto;
}

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

.book-appoinment {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-terracotta);
}

.btn-primary span {
    margin-left: 5px;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-terracotta);
    border: 1.5px solid var(--color-terracotta);
    text-align: center;
}

.btn-outline:hover {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.btn-outline span {
    margin-left: 5px;
}

/* .btn-outline {
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 80%, 100% { transform: rotate(0); }
  85% { transform: rotate(-3deg); }
  90% { transform: rotate(3deg); }
  95% { transform: rotate(-2deg); }
} */

.pulse-ring-btn {
  position: relative;
}

.pulse-ring-btn::before,
.pulse-ring-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(113, 43, 19, 0.6); 
  animation: pulse-ring 3s cubic-bezier(0.4, 0, 0, 1) infinite;
}

.pulse-ring-btn::after {
  animation-delay: 2;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.navbar {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1.5px solid var(--color-rose);
    border-top: none;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo span {
    color: var(--color-olive);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin-top: .5rem;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.95rem;
    padding: 5px;
    margin: 0;
    border: 1.5px solid transparent;
    background-color: transparent;
}

.nav-links a:hover {
    color: var(--color-terracotta);
    border-bottom: 1.5px solid var(--color-terracotta);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.header-curve {
    background-color: transparent;
}

/* .header-curve::before {
    content: '';
    position: absolute;
    top: 0;
    right: -15%;
    width: 300px;
    height: 600px;
    background-color: var(--color-rose);
    clip-path: path('M0,0 L300,0 Q-35,300 300,600 L0,600 Z');
    z-index: -1;
} */

/* .header-curve::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -15%;
    width: 100px;
    height: 200px;
    background-color: var(--color-rose);
    clip-path: path('M0,0 L100,0 Q50,100 100,200 L0,200 Z');       
    z-index: -1;
}   */

/* 
.hero {
    background-color: var(--color-rose); 
    display: flex;
    align-items: center;
    margin-top: -10px;
    padding-top: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-content {
    padding-right: 4rem;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border-top-right-radius: var(--border-radius);
    overflow: hidden;
}  */

/**/

.hero {
    position: relative;
    background-color: var(--color-rose); 
    margin-top: -10px;
    padding-top: 10px;
}

.hero-container {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 600px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    padding-right: 4rem;
    padding-left: 2rem;
    padding-bottom: 2rem;
    isolation: isolate;
} 

.hero-image {
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    border: 2px solid var(--color-terracotta);
    border-right: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.highlight {
    color: var(--color-terracotta);
    font-style: italic;
}

.video-section {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.video-wrapper {
    position: relative;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.multimedia-desktop,
.multimedia-mobile {
    height: auto;
    width: 100%;
    border-radius: var(--border-radius);
}

.multimedia-mobile {
    display: none;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.philosophy {
    padding-bottom: var(--spacing-section);
    text-align: center;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    display: inline;
}

q {
    color: var(--color-olive);
    font-size: 3rem;
}

.twig-separator,
.twig-separator-left {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    opacity: 0.7;
}

.twig-separator {
    justify-content: center;
}

.twig-separator-left {
    justify-content: left;
}

.twig-separator img {
    height: 35px;
    width: auto;
}

.twig-separator-left img {
    height: 30px;
    width: auto;
}

.big-twig-decorator {
    display: grid;
    justify-content: right;
    align-items: flex-end;
    text-align: right;
    transform: translateY(100px);
    opacity: 0.5;
    position: absolute;
    right: 0;
}

.big-twig-decorator img {
    height: 175px;
    width: auto;
}

.big-twig-decorator-left-bottom {
    display: grid;
    justify-content: left;
    align-items: flex-start;
    text-align: left;
    opacity: 0.7;
    position: absolute;
    left: 0;
    bottom: 0;
}

.big-twig-decorator-left-bottom img {
    height: 150px;
    width: auto;
}

.big-twig-decorator-right-bottom {
    display: grid;
    justify-content: end;
    align-items: flex-end;
    text-align: right;
    opacity: 0.7;
    position: absolute;
    right: 0;
    bottom: 0;
}

.big-twig-decorator-right-bottom img {
    height: 175px;
    width: auto;
}

.header-twig {
    bottom: -3%;
    right: -15%;
}

.services {
    padding: var(--spacing-section) 0;
    background-color: rgba(245, 196, 179, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(245, 196, 179, 0.5);
    clip-path: path('M0,0 L200,0 Q120,120 0,200 Z');
    z-index: -1;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(245, 196, 179, 0.5);
    clip-path: path('M200,200 L200,0 Q120,120 0,200 Z');
    z-index: -1;
}

.section-title {
    text-align: center;
    color: var(--color-text);
}

.section-title-terracota {
    text-align: center;
    color: var(--color-terracotta);
}

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

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--color-olive);
}

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

.service-card.coming-soon {
    background-color: rgba(245, 196, 179, 0.5);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-card-header img {
    height: 70px;
    width: auto;
    background-color: #fde9ea;
    border-radius: 70px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

.service-card-header h3 {
    width: min-content;
}

.about {
    padding: var(--spacing-section) 0;
    padding-bottom: 2rem;
    overflow: hidden;
    text-align: center;
}

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

.about-card {
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    /* align-items: center;
    justify-items: center;
    display:inline-block; */
}

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

.about-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 1rem; */
    margin-bottom: 1rem;
}

.about-card-header img {
    height: 70px;
    width: auto;
    background-color: #fde9ea;
    border-radius: 70px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
    width: auto;
    color: var(--color-terracotta);
    font-weight: 300;
}

.link-arrow {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-terracotta);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 20px;
    padding: 3px;
}

.link-arrow:hover {
    color: var(--color-olive);
}

.link-arrow span {
    margin-left: 5px;
}

.story {
    padding: var(--spacing-section) 0;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.vision::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background-color: #F0EBE7;
    clip-path: path('M0,250 L180,250 Q180,180 0,0 Z');
    z-index: -1;
}

.vision {
    padding: 4rem 0;
    background-color: #f7f2ef;
    text-align: center;
    color: var(--color-terracotta);
    border-radius: var(--border-radius);
}

.vision::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: #F0EBE7;
    clip-path: path('M150,150 L0,150 Q150,80 150,0 Z');
    z-index: -1;
}

.vision h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.vision p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text);
}

.credentials {
    padding-top: 3rem;
    padding-bottom: 1rem;
    text-align: center;
}

.credentials p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-olive);
    letter-spacing: 1px;
}

.cta-final {
    padding: 2rem 0;
    text-align: center;
}

.cta-final h2 {
    margin-bottom: 2rem;
}

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

.social-icon {
    font-size: 2rem;
    color: var(--color-olive);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.map-icon {
    margin-top: 1.2rem;
    font-size: 1.8rem;
    color: var(--color-olive);
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.map-icon:hover .bx-map { 
    color: var(--color-terracotta);
    transform: translateY(-5px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}   

.story-page-header {
    text-align: center;
    background-color: rgba(245, 196, 179, 0.7);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.story-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    margin-top: 2rem;
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.story-block.reverse {
    direction: rtl; 
}

.story-block.reverse > * {
    direction: ltr; 
}

.story-block-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 15px 15px 0px var(--color-rose);
}

.story-block-content h2 {
    font-size: 2.2rem;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
}

.story-block-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.vision-block {
    background-color: var(--color-cream);
    padding: 6rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 4rem 0;
    height: fit-content;
}

.vision-block h2 {
    font-size: 3rem;
    color: var(--color-terracotta);
    max-width: 900px;
    margin: 0 auto 2rem;
}

.vision-block p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 0.1rem;
}

.philosophy-quote {
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: .5rem;
    padding-bottom: 1rem;
}

.decorated-ul {
    list-style: none;
    padding-left: 0;
    max-width: 800px;       
    margin: 0 auto;        
    text-align: center;       
    color: var(--color-text);
    font-size: 1.2rem;
}   

.decorated-ul li {
    padding: 0.5rem;
}

.decorated-ul li::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('../img/assets/twig.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
}   

.location {
    display: block;
    padding-top: 1rem;
    text-decoration: underline;
    text-decoration-color: var(--color-olive);
}

.location:hover {
    text-decoration-color: var(--color-terracotta);
    transform: translateY(-5px);
}

.crown {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.crown img {
    height: 70px;
    width: auto;
}

footer {
    background-color: rgba(245, 196, 179, 0.1);
    color: var(--color-text);
    text-align: center;
    font-size: 0.7rem;
    height: auto;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border: 1.5px solid var(--color-rose);
    border-bottom: none;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .hero-container, .story-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 1rem;
    } 

    .hero-image img {
        border-radius: var(--border-radius);
        border: 1px solid var(--color-terracotta);
    }

    .header-curve {
        display: none;
    }

    .header-twig {
        bottom: 3%;
        right: 0;
    }

    .header-twig img {
        height: 100px;
    }

    .services::before,
    .services::after {
        display: none;
    }

    .services-twig {
        transform: translateY(300px) !important;
    }

    .story-twig {
        transform: translateY(350px) !important;
    }

    .services-twig img {
        height: 100px;
    }

    .story-twig img,
    .in-person-twig img {
        height: 90px;
    }
    
    /* .hero-image {
        order: -1;
    } */

    .services {
        padding: 1rem 0;
    }
    
    .vision h2 {
        font-size: 2rem;
    }

    .story-intro, .story-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .story-block.reverse {
        direction: ltr;
    }

    .story-block img {
        height: 350px;
        order: -1; 
    }

    .story-block-image img {
        height: auto;
    }

    .big-twig-decorator {
        transform: translateY(200px);
    }

    .philosophy-quote {
        font-size: .9rem;
    }

    .multimedia-desktop {
        display: none;
    }

    .multimedia-mobile {
        display: block;
    }

    .twig-separator-left img {
        height: 30px;
        width: auto;
    }

    .decorated-ul {
        margin-bottom: 5rem;
    }

}   