/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #FAF5F2;
    /* Light blush/cream background */
    color: #4A4A4A;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
blockquote {
    font-family: 'Cormorant Garamond', serif;
    color: #1A1A1A;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #666;
}

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

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #F1DFD3;
    /* Soft beige */
    color: #562b19;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    /* font-weight: 600; */
    margin-top: 1rem;
    border: 1px solid transparent;
}

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

/* Sections */
section {
    padding: 5rem 0;
}

/* Polaroid Effect */
.polaroid {
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* transform: rotate(-2deg);
    transition: transform 0.3s ease; */
}

/* .polaroid:hover {
    transform: rotate(0deg);
} */

.polaroid img {
    width: 100%;
    display: block;
    filter: sepia(10%);
}

.polaroid-taped {
    position: relative;
    background: #fff;
    padding: 1rem 1rem 3rem 1rem;
    /* Extra bottom padding for polaroid look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 80%;
    margin: 0 auto;
    /* transform: rotate(1deg); */
}

.polaroid-taped .polaroid-inner img {
    width: 100%;
    display: block;
}

.tape {
    position: absolute;
    top: -15px;
    right: 20%;
    width: 120px;
    opacity: 0.9;
    z-index: 10;
    transform: rotate(-5deg);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Header Logo */
.header-logo {
    /* position: absolute;
    top: 20px;
    right: 200px; */
    /* width: 300px; */
        width: 270px;
    height: auto;
    margin: 0 auto;
    flex: 1;
}

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

/* .hero-1 {
    max-width: 60%;
    overflow: hidden;
}

.hero-1 img {
    transform: scale(1.5);
    object-fit: cover;
    object-position: center;
} */

.hero-image-wrapper .polaroid {
    max-width: 80%;
}

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

/* Journey Section */
.journey-section {
    background-color: #fff;
    /* Slightly different for contrast or keep same? Design keeps same usually. Let's keep same. */
    background-color: #FAF5F2;
}

.journey-header{
    padding-top: 2rem;
     font-family: 'DM Serif Display', serif;
    }

.journey-content{
    background-color: white;
    padding: 1.5rem;
}
.journey-container {
   
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    /* background-color: white; */
}

.journey-image-wrapper {
    position: relative;
    padding-top: 3rem;
}

.handwritten-note {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #4A4A4A;
    position: absolute;
    bottom: -40px;
    right: -20px;
    transform: rotate(-5deg);
    text-align: center;
    line-height: 1.4;
}

/* Values Section */
.values-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
    
}

.script-header {
    font-family: 'Homemade Apple', cursive;
    font-size: 2rem;
    color: #C0A080;
    /* Muted gold/beige */
    display: block;
    margin-bottom: 0.5rem;
}

/* Quote Section */
.quote-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 8rem 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Light darkening for readability */
}

.quote-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
   
}
.quote-section blockquote.quote-waves {
     font-family: "Dancing Script", cursive;
}
.quote-section blockquote {
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #a37159;
    /* Override default */
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */

}

.testimonial p {
    color: #000;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial cite {
    display: block;
    font-weight: 600;
    font-style: italic;
    font-size: 1.1rem;
        color: #000;

}

/* Book Quote Section (Simulated) */
.book-quote-section {
    padding: 6rem 0;
    text-align: center;
}

.book-quote-section blockquote {
    font-size: 2.5rem;
    color: #5D4037;
}

.book-quote-section cite {
    display: block;
    font-family: 'Homemade Apple', cursive;
    font-size: 2rem;
    margin-top: 1rem;
    color: #8D6E63;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #999;
    border-top: 1px solid #EAEAEA;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container,
    .journey-container,
    .values-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .hero-image-wrapper .polaroid {
        margin: 0 auto;
        transform: rotate(-2deg);
        max-width: 100%;
    }

    .journey-image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }

    .values-image-wrapper {
        order: -1;
    }

    .quote-section blockquote {
        font-size: 2rem;
    }

    .cta-section-bottom {
        display: flex;
        flex-direction: row;
        gap: 20px;
        padding: 40px;
        justify-content: space-evenly;

    }
}

/* Extra small screens - reorder logo above hero image */
@media (max-width: 480px) {
    .hero-container {
        display: flex;
        flex-direction: column;
    }
    
    .header-logo {
        order: -2;
        width: 200px;
        margin-bottom: 1.5rem;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
}



/* Staircase Section */
.bg-staircase {
    background-image: url('../images/02.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    padding: 7rem 0;
    height: 450px;
}

/* Mobile-optimized background for staircase */
@media (max-width: 768px) {
    .bg-staircase {
        background-image: url('../images/mobile/02.jpg');
    }
}

.bg-staircase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

.bg-staircase .quote-text {
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    font-weight: 500;
    color:  #3f2114;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.bg-staircase .quote-author {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #3f2114;
    font-style: normal;
}

/* Responsive font sizes for bg-staircase section */
@media (max-width: 768px) {
    .bg-staircase .quote-text {
        font-size: 2.5rem;
    }
    .bg-staircase .quote-author {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bg-staircase .quote-text {
        font-size: 1.8rem;
    }
    .bg-staircase .quote-author {
        font-size: 1.2rem;
    }
}

/* CTA Section */
.cta-section {
    height: 500px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 40px;
    justify-content: center;
    align-items: center;
    background-image: url('../images/07.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #a37159;
}

/* Mobile-optimized background for CTA */
@media (max-width: 768px) {
    .cta-section {
        background-image: url('../images/mobile/07.jpeg');
    }
}

.cta-section h3 {
    color: #562b19;
    margin-bottom: 1rem;
    font-size: 3rem;

}

.cta-section p {
    color: #562b19;
    margin-bottom: 2rem;

}
.cta-section div{
    color: #562b19;
    padding: 1rem;
}
/* Clients Section */
.clients-section {
    margin-bottom: 2rem;
    padding: 6rem 0;
    text-align: center;
    /* background-image: url('../images/background-client.jpg'); */
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #F1DFD3;
    /* color: #fff; */
}

/* Mobile-optimized background for clients */
@media (max-width: 768px) {
    .clients-section {
        /* background-image: url('../images/mobile/background-client.jpg'); */
        background-color: #F1DFD3;
    }
}
.clients-container {
    background-color: white;
    width: 70%;
    margin: 0 auto;
    height: 500px;
}
.clients-section h1 {
    padding-top: 2rem;
    /* color: #fff; */
    margin: 2rem 0;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}

.clients-section p {
    /* color: #f0f0f0; */
    margin-bottom: 2rem;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
    font-size: 1.1rem;
}

.testimonial-card {
    background: #fff;
    padding: 3rem;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.testimonial-card p {
    color: #4A4A4A;
    font-size: 1.2rem;
    font-style: italic;
    text-shadow: none;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    display: block;
    color: #1A1A1A;
    font-weight: 600;
    margin-top: 1rem;
    font-style: normal;
    text-shadow: none;
}



/* Header 1 Styles */
.header1 {
    font-family: 'DM Serif Display', serif !important;
    font-size: 2.7rem !important;
    margin-bottom: 2.5rem !important;
    text-align: center;
}

.header1 p,
.header1 span,
.header1 .text {
    font-family: 'DM Sans', sans-serif;
    color: #a37159;
}

.header1text{
    padding: 1rem 2rem;
    font-size: 1.2rem;
}
/* Text Alignment Utilities */
.text-center {
    text-align: center;
}

/* Staircase Container */
.bg-staircase .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Journey Section */
/* .journey-section h2 {
    text-align: center;
} */

/* Values Section */
.values-content {
    text-align: center;
    /* background-color: white; */
    padding: 1.5rem;
}

/* CTA Section Columns */
.cta-section > div {
    text-align: center;
    flex: 1;
}

/* Approach Section */
.approach-section {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 40px;
    justify-content: center;
    background-color: white;
    /* border: 1px solid red; */
}

.approach-section .image-col {
    flex: 1;
    width: 0 auto;
    text-align: center;
}

.approach-section .image-col img {
    width: 60%;
}

.approach-section .content-col {
    text-align: center;
    flex: 1;
    background-color: white;
}

.content-col {
    /* background-color: white; */
    padding: 1.5rem;
}
.content-col p{
    color: #4A4A4A;
    font-size: 1.1rem;
    line-height: 1.6;
    width: 65%;
    margin: 30px auto;
}
/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 100px;
    /* border: 1px solid red; */
}
.contact-section div{
    /* border: 1px solid green; */
    flex: 1;
}
.contact-img-container {
    width: 80%
}


.contact-section img {
    width: 80%;
}

.contact-content {
    padding: 0 100px;
}

.values-section{
    background-color: white;
}

.header3 {
    font-family: 'DM Serif Display', serif !important;
    font-size: 3rem;
}

/* .contact-section,
.clients-section {
    display: none;
} */

.contact-header {
    /* Use the font you chose above */
    font-family: 'Caveat', cursive; 
    
    /* Signature fonts need to be larger to be readable */
    font-size: 3rem; 
    
    /* Optional: Tilt it slightly for a more natural look */
    transform: rotate(-2deg);
    
    /* Optional: Make it look like ink */
color: #A89478;
    font-weight: 400;
}

.contact-greeting {
    font-family: 'DM Serif Display', serif !important;
    font-size: 3rem;
    line-height: 1;
    margin: 1.5rem 0;
}

.btn-primary {
    /* 1. Make them box-like so we can set width/height */
    display: inline-block;
    
    /* 2. Set a fixed width (adjust 280px to fit your longest text) */
    width: 300px;
    
    /* 3. Center the text inside the button */
    text-align: center;
    
    /* 4. Padding and Vertical Alignment */
    padding: 15px 20px;
    vertical-align: middle;
    
    /* 5. Look and Feel */
    text-decoration: none;
    border-radius: 8px; /* Smooth corners */
    margin: 10px auto;       /* Space between buttons */
    
    /* Optional: Ensure font styles are consistent */
    /* font-family: sans-serif; */
    /* font-weight: bold; */
} 

/* If you kept the <button> tag in the HTML, add this to reset it */
button.btn-primary {
    border: none;
    cursor: pointer;
}

/* euoe eou*/
.testimonial-container {
    position: relative;
    min-height: 200px; /* Prevents layout jump when switching */
}

.testimonial-card {
    display: none; /* Hide all by default */
    padding: 20px;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-card.active {
    display: block; /* Show only the active one */
    animation: fadeIn 0.8s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.testimonial-container {
    position: relative;
    max-width: 700px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for both arrows */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #A89478; /* Using your earthy gold hex */
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: color 0.3s;
}

.prev-btn { left: -50px; }
.next-btn { right: -50px; }

.prev-btn:hover, .next-btn:hover {
    color: #F1DFD3; /* Using your light linen hex */
}

/* Hide arrows on very small screens if they overlap */
@media (max-width: 768px) {
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}

@media (max-width: 768px) 
{
    .approach-section {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .clients-container {
        width: 100%;
    }

    .contact-section {
        display: flex;
        flex-direction: column;
        padding: 10px 10px;
        margin-top: 20px;
        text-align: center;
        /* justify-content: space-evenly;
        text-align: center;
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 100px;
        border: 1px solid red; */
    }

    .contact-section img {
        width: 100% !important;
    }

    .contact-content {
    padding: 0;
    }

    .content-col p {
        color: #4A4A4A;
        font-size: 1.1rem;
        line-height: 1.6;
        width: 100%;
        margin: 20px auto;
    }

    .contact-img-container {
        width: 80%;
        margin: 0 auto;
    }
    .hero-section {
        padding-top: 30px;
    }
}