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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.no-scroll {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #A76F5E; /* Brand Color */
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001; /* Increased to ensure it's above everything */
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #A76F5E; /* Brand Color */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 700;
    font-size: 1rem;
    color: #555;
}

.nav-links a:hover {
    color: #A76F5E;
}

.btn-login, .btn-signup {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-login {
    border: 2px solid #A76F5E;
    color: #A76F5E !important;
}

.btn-login:hover {
    background-color: #A76F5E;
    color: #fff !important;
}

.btn-signup {
    background-color: #A76F5E;
    color: #fff !important;
    border: 2px solid #A76F5E;
    margin-left: 15px;
}

.btn-signup:hover {
    background-color: #8B5A4B;
    border-color: #8B5A4B;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%), url('../images/banner.png');
    background-size: cover;
    background-position: center top;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #fff;
    padding-left: 10%;
}

.hero-content {
    max-width: 600px;
    padding: 20px;
    margin-top: 150px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 1rem;
}

.btn-primary, .btn-secondary, .btn-large {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: #A76F5E;
    color: #fff;
    border: 2px solid #A76F5E;
}

.btn-primary:hover {
    background-color: #8B5A4B;
    border-color: #8B5A4B;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(167, 111, 94, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.4);
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Page Header (for subpages) */
.page-header {
    background: linear-gradient(rgba(167, 111, 94, 0.9), rgba(167, 111, 94, 0.9)), url('../images/banner.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

/* Blog List */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 30px;
    border: 1px solid #eee;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-post h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.blog-post p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-featured-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 20px 30px;
    float: right;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.read-more {
    display: inline-block;
    color: #A76F5E; /* Brand color */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.read-more:hover {
    color: #8a5a4b; /* Darker shade */
    border-bottom-color: #8a5a4b;
}

.alt-bg {
    background-color: #f4f4f4;
}

.content-section article {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.content-section h3 {
    font-size: 1.8rem;
    color: #A76F5E;
    margin-bottom: 1rem;
}

/* SEO Content with Wrapped Images */
.seo-section {
    padding: 80px 0;
    background: #fff;
}

.seo-block {
    max-width: 1000px;
    margin: 0 auto 40px;
    line-height: 1.9;
    font-size: 1.1rem;
    color: #444;
}

.seo-block img.float-left,
.seo-block svg.float-left {
    float: left;
    width: 280px;
    max-width: 40%;
    margin: 0 25px 15px 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.seo-block img.float-right,
.seo-block svg.float-right {
    float: right;
    width: 280px;
    max-width: 40%;
    margin: 0 0 15px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.seo-block::after {
    content: "";
    display: table;
    clear: both;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding-top: 10px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 10px;
    color: #999;
}

.breadcrumb-item a {
    color: #A76F5E;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: bold;
}

/* Feature icons */
.feature-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 15px;
    display: block;
    opacity: 0.85;
}

/* Steps Section */
.steps {
    padding: 80px 0;
    background-color: #2c3e50;
    color: #fff;
}

.steps h2 {
    color: #fff;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #A76F5E;
    color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.step p {
    color: #ccc;
}

.center-btn {
    text-align: center;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(rgba(167, 111, 94, 0.9), rgba(167, 111, 94, 0.9)), url('../images/banner.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.final-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.final-cta h2::after {
    background-color: #fff;
}

.final-cta p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.btn-large {
    background-color: #fff;
    color: #A76F5E;
    border: 2px solid #fff;
    font-size: 1.3rem;
    padding: 18px 45px;
}

.btn-large:hover {
    background-color: transparent;
    color: #fff;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 50px 0;
    text-align: center;
}

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

.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #A76F5E;
}

.copyright {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #555;
}

/* Tablet and Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: calc(100vh - 80px);
        top: 80px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        box-shadow: none;
        border-top: 1px solid #eee;
    }

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

    .burger {
        display: block;
        background-color: #A76F5E; /* Brand color background */
        padding: 8px;
        border-radius: 5px;
        z-index: 1001;
        position: relative;
        margin-right: 10px;
    }

    .burger div {
        background-color: #fff; /* White lines */
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
        padding: 0 10px;
    }

    .hero {
        justify-content: center;
        text-align: center;
        padding-left: 0;
        align-items: flex-end;
        padding-bottom: 80px;
        background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8)), url('../images/banner.png');
        background-size: cover;
        background-position: center top;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
        letter-spacing: 0;
    }
}