/* General Reset */
body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Uncial Antiqua', 'Garamond', serif;
    /* Medieval-themed font */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header Section */
.main-header {
    background: #3e2723;
    padding: 10px 0;
    border-bottom: 5px solid #ffdf80;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.main-header .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header {
    transition: top 0.3s ease-in-out;
    /* Smooth hide/show effect */
}

.header-logo {
    width: 80px;
    cursor: pointer;
    filter: drop-shadow(2px 2px 2px #000);
}

.main-nav {
    position: relative;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.main-nav ul li a {
    color: #ffdf80;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 15px;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 5px;
    font-family: 'Garamond', serif;
}

.main-nav ul li a:hover {
    background: #5d4037;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
}

.hamburger span {
    background: #ffdf80;
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background: #3e2723;
        border: 3px solid #ffdf80;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        width: 200px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
        animation: slideIn 0.5s ease-out;
    }

    .main-nav ul.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Hamburger Active State */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Animations */
@keyframes slideIn {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* General Parallax Section (Large Screens) */
.hero, .about-us, .tokenomics, .roadmap, .da-vinci-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Enable Parallax on Larger Screens Only */
@media (min-width: 769px) {
    .hero, .about-us, .tokenomics, .roadmap, .da-vinci-section {
        background-attachment: fixed;
    }
}

/* Mobile Fix: Disable Background Attachment */
@media (max-width: 768px) {
    .hero, .about-us, .tokenomics, .roadmap, .da-vinci-section {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    .hero, .about-us, .tokenomics, .roadmap, .da-vinci-section {
        background-attachment: scroll; /* Ensure no parallax effect on mobile */
        background-size: cover; /* Ensure full image is visible without distortion */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    background: url('pics/background3.jpg') center center / cover no-repeat scroll;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff9e6;
    /* Parchment-like color for text */
    overflow: hidden;
    padding: 20px;
    border: 10px solid #3e2723;
    /* Dark wood-like border for hero section */
}

.hero-content {
    z-index: 2;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    /* Add transparency for text box over the parchment */
    padding: 20px;
    margin: 5%;
    border-radius: 15px;
    border: 5px solid #5d4037;
    /* Wood-like frame */
    transform: translateY(40px);
}

.alliance-logo {
    width: 20vw;
    max-width: 150px;
    animation: float 2.5s ease-in-out infinite;
}

.hero-title {
    font-size: 6vw;
    max-width: 600px;
    margin: 20px 0;
    color: #ffdf80;
    /* Gold-like color for medieval richness */
    text-shadow: 2px 2px 5px #000000;
    /* Dark shadow to add depth */
    font-family: 'Uncial Antiqua', serif;
    /* Gothic, medieval-style font */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0px;
    color: #ffdf80;
    /* Same golden color for consistency */
}

.hero-subtitle1 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #ffdf80;
    /* Same golden color for consistency */
}

.hero-button {
    padding: 20px 40px;
    font-size: 1.5rem;
    border: none;
    background: linear-gradient(to bottom, #e6c26b, #b2883b);
    /* Golden gradient for a regal effect */
    color: #301b0d;
    /* Dark brown to contrast the gold */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-radius: 12px;
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.5), inset 4px 4px 8px rgba(255, 255, 255, 0.3);
    /* Adding depth */
    font-family: 'Uncial Antiqua', serif;
    /* Gothic, medieval-style font */
    text-transform: uppercase;
    text-shadow: 1px 1px 5px #000000;
    /* Dark shadow for more depth */
    border: 2px solid #8b5a2b;
    /* Dark bronze border for ornate feel */
}

.hero-button:hover {
    transform: translateY(-5px);
    box-shadow: -6px -6px 12px #5e5e5e, 6px 6px 12px black;
    /* Slightly lifted button on hover */
    background: linear-gradient(to bottom, #f1d382, #b2883b);
    /* Lighter golden color for hover effect */
}

/* Buy Now Button */
.buy-now-button {
    padding: 20px 40px;
    font-size: 1.5rem;
    border: none;
    background: linear-gradient(to bottom, #a36b00, #8a4500);
    /* Copper-like gradient */
    color: #fff9e6;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-radius: 12px;
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.5), inset 4px 4px 8px rgba(255, 255, 255, 0.3);
    /* Adding depth */
    font-family: 'Garamond', serif;
    /* Classical typeface for an ancient vibe */
    text-transform: uppercase;
    text-shadow: 1px 1px 5px #000000;
    /* Dark shadow for more depth */
    border: 2px solid #5e3600;
    /* Dark border to enhance button prominence */
}

.buy-now-button:hover {
    transform: translateY(-5px);
    box-shadow: -6px -6px 12px #3b2400, 6px 6px 12px #ffffff;
    /* Lighter, more pronounced shadow for hover */
    background: linear-gradient(to bottom, #bf8c3b, #a36b00);
    /* Copper shine for hover effect */
}

/* CTA Icons */
.cta-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Adjust the spacing between icons as needed */
    margin-top: 20px;
    /* Adjust as needed to space out from other elements */
}

.cta-icons a {
    display: inline-block;
    width: 50px;
    /* Set width to make icons smaller */
    height: 50px;
    /* Set height to make icons smaller */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cta-icons img {
    width: 100%;
    /* Ensures the image fills the container */
    height: 100%;
    /* Maintains aspect ratio and fits within the defined width/height */
    object-fit: contain;
    /* Keeps the image aspect ratio */
}

.cta-icons a:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
    /* Slight glow on hover */
}

/* Additional Medieval Effects */
.hero-button,
.buy-now-button {
    position: relative;
    overflow: hidden;
}

.hero-button::before,
.buy-now-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path/to/ornate-pattern.png') repeat;
    /* Add an ornate pattern to enhance the medieval look */
    opacity: 0.1;
    /* Subtle to not overpower the text */
    pointer-events: none;
}

/* Floating Orcs Animation */
.floating-orcs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-orc {
    position: absolute;
    width: 15vw;
    max-width: 100px;
    animation: floatOrcs 5s infinite alternate ease-in-out;
    transform-origin: bottom;
    pointer-events: auto;
    cursor: pointer;
    filter: grayscale(0.2);
    /* To blend better with the medieval theme */
    opacity: 0.8;
    /* To give it an ancient feel */
}

/* Positioning Orcs Randomly */
.floating-orc:nth-child(1) {
    top: 20%;
    left: 10%;
}

.floating-orc:nth-child(2) {
    top: 50%;
    left: 70%;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes floatOrcs {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        background-image: url('pics/background3.jpg');
        /* Optional: use a smaller background image */
        background-color: #4d3624;
        /* Fallback solid color */
        height: auto;
        /* Let the content determine the height */
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 8vw;
    }

    .hero-content {
        max-width: 90%;
        padding: 15px;
    }

    .alliance-logo {
        width: 30vw;
        /* Smaller size for better fit */
    }

    .hero-button,
    .buy-now-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}



/* ABOUT US*/

.about-us {
    padding: 100px 20px;
    background: linear-gradient(to bottom right, #2e1a0f, #4d3624);
    color: #ffdf80;
    position: relative;
    background: url('about.jpg') center center / cover no-repeat scroll;
    border: 10px solid #3e2723;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-image-wrapper {
    flex: 1 1 40%;
    max-width: 500px;
    padding: 10px;
    transform: scale(1);
    transition: transform 0.4s ease-in-out;
}

.about-image-wrapper:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.7);
}

.about-text-wrapper {
    flex: 1 1 55%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.about-title {
    font-size: 3rem;
    font-family: 'Uncial Antiqua', serif;
    margin-bottom: 20px;
    color: #ffdf80;
    text-shadow: 2px 2px 8px #000;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #ffecd2;
    font-family: 'Garamond', serif;
    margin-bottom: 20px;
    text-indent: 30px;
}

.learn-more-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    background: linear-gradient(to bottom, #e6c26b, #b2883b);
    color: #301b0d;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.5), inset 3px 3px 6px rgba(255, 255, 255, 0.3);
    font-family: 'Uncial Antiqua', serif;
    text-transform: uppercase;
    text-shadow: 1px 1px 5px #000000;
    border: 2px solid #8b5a2b;
}

.learn-more-button:hover {
    transform: translateY(-5px);
    box-shadow: -6px -6px 12px #5e5e5e, 6px 6px 12px #ffffff;
    background: linear-gradient(to bottom, #f1d382, #b2883b);
}

@media (max-width: 768px) {
    .about-us {
        background: url("about-for-phone.png") center center / cover no-repeat scroll;
        background-color: #8b5a2b;
        /* Fallback color */
        padding: 80px 20px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-description {
        font-size: 1rem;
        padding: 0 10px;
    }

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

.about-image-wrapper {
    position: relative;

}

.speech-bubble {
    position: absolute;
    top: -70px;
    /* Adjust to position above the head of the King */
    left: 50%;
    transform: translateX(-50%);
    background: #f5deb3;
    color: #3e2723;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #8b5a2b;
    font-family: 'Garamond', serif;
    font-size: 1rem;
    text-align: center;
    width: 250px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    /* Arrow points down from the bubble */
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #f5deb3 transparent transparent transparent;
}


/*TOKENOMICS*/
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 223, 128, 0.8), 0 0 30px rgba(255, 223, 128, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 223, 128, 1), 0 0 40px rgba(255, 223, 128, 0.8);
    }
}

@keyframes mistyHover {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes mysticalGlow {
    0% {
        filter: brightness(0.9);
    }

    50% {
        filter: brightness(1.3);
    }

    100% {
        filter: brightness(0.9);
    }
}

.tokenomics {
    padding: 100px 20px;
    background: url('pics/background3.jpg') center center / cover no-repeat scroll;
    background-size: cover;
    position: relative;
    color: #ffdf80;
    overflow: hidden;
    border: 10px solid #3e2723;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tokenomics-content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.8);
    border: 5px solid #5d4037;
    /* Antique wood-like border */
    animation: mistyHover 3s ease-in-out infinite;
}

.tokenomics-header {
    margin-bottom: 50px;
}

.tokenomics-title {
    font-size: 3.5rem;
    font-family: 'Uncial Antiqua', serif;
    color: #ffdf80;
    text-shadow: 3px 3px 10px #000;
    animation: mysticalGlow 4s ease-in-out infinite;
}

.tokenomics-subtitle {
    font-size: 1.5rem;
    font-family: 'Garamond', serif;
    color: #f5deb3;
    /* Wheat color to match the parchment */
    text-shadow: 1px 1px 5px #000;
    margin-top: 10px;
}

.tokenomics-details {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 4rem;
    justify-content: space-around;
}

.tokenomics-item {
    flex: 1 1 30%;
    max-width: 350px;
    background: rgba(58, 37, 18, 0.9);
    /* Dark brown background to match medieval theme */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: mistyHover 3s ease-in-out infinite;
}

.tokenomics-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 30px rgba(255, 223, 128, 0.8);
}

.tokenomics-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    transform: scale(1);
    transition: transform 0.4s ease-in-out;
    animation: pulseGlow 1s ease-in-out infinite;
}

.tokenomics-icon-wrapper:hover {
    transform: scale(1.2);
}

.tokenomics-icon {
    width: 100%;
    height: auto;
    animation: mysticalGlow 3s ease-in-out infinite alternate;
}

.tokenomics-feature {
    font-size: 2rem;
    font-family: 'Uncial Antiqua', serif;
    color: #ffdf80;
    text-shadow: 2px 2px 5px #000;
    margin-bottom: 10px;
}

.tokenomics-value {
    font-size: 1.5rem;
    font-family: 'Garamond', serif;
    color: #e0c097;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px #000;
}

.tokenomics-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffecd2;
    font-family: 'Garamond', serif;
}

.tokenomics-item::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid #b2883b;
    /* Golden embellishments around the boxes */
    border-radius: 15px;
    z-index: -1;
    box-shadow: 0px 0px 20px #000;
    animation: pulseGlow 1s ease-in-out infinite;
}

@media (max-width: 768px) {

    /* Tokenomics Section */
    .tokenomics {
        /* background-image: none; */
        /* Remove the background image */
        background-color: #5d4037;
        /* Set a solid color */
        padding: 80px 20px;
    }

    .tokenomics-title {
        font-size: 2.5rem;
        /* Reduce title font size */
    }

    .tokenomics-details {
        flex-direction: column;
        /* Stack items vertically */
    }

    .tokenomics-item {
        max-width: 90%;
        /* Limit width for better mobile fit */
        padding: 15px;
    }
}


.roadmap {
    position: relative;
    padding: 40px 0;
    /* Adjusted padding to reduce white space */
    background: url('pics/background3.jpg') center center / cover no-repeat scroll;
    background-size: cover;
    text-align: center;
    color: #fff9e6;
    max-width: 100%;
    /* Ensure it fills the full width */
    margin: 0 auto;
    /* Center the section */
    border: 10px solid #3e2723;
    /* Dark wood-like border */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    /* Add shadow for depth */
    border-radius: 0;
    /* Remove rounded corners to eliminate white angles */
}

.roadmap-title {
    font-size: 3rem;
    font-family: 'Uncial Antiqua', serif;
    margin-bottom: 20px;
    color: #ffdf80;
    text-shadow: 2px 2px 8px #000;
    text-align: center;
    /* Ensure the title is centered */
    margin: 0 auto;
    /* Center the title within the container */
}

.roadmap-image {
    width: 100%;
    /* Make the image larger and fill the section */
    max-width: 1000px;
    /* Ensure image does not exceed container width */
    border-radius: 0;
    /* Remove rounded corners */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8);
    margin: 20px auto 0;
    /* Center the image and add spacing above */
}

/* Styling for smaller screens (phones) */
@media (max-width: 768px) {
    .roadmap {
        background-color: #AC8447;
        /* background-image: none; */
        padding: 40px 10px;
        /* Reduce padding for a more compact layout */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        max-width: 100%;
        /* Ensure section width fits the screen */
        border: 10px solid #3e2723;
        /* Keep the border with no rounded corners */
        border-radius: 0;
        /* Ensure no rounded corners */
    }

    .roadmap-title {
        font-size: 2rem;
        /* Reduce the title size for mobile */
        color: #3e2723;
        /* Darker color for better contrast */
        margin-bottom: 15px;
    }

    .roadmap-image {
        width: 95%;
        /* Use most of the screen width for better visibility */
        max-width: 400px;
        /* Ensure it does not overflow the container */
        margin: 0 auto 20px;
        border-radius: 0;
        /* Remove rounded corners to avoid white spaces */
    }
}

/* Footer Section */
.main-footer {
    background: #3e2723;
    padding: 30px 0;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.7);
    color: #ffdf80;
    font-family: 'Garamond', serif;
    text-align: center;
}

.main-footer .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.footer-logo img {
    width: 120px;
    /* Adjust size as needed */
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.7));
    /* Consistent with theme */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
    /* Subtle glow effect */
}

.footer-text p {
    font-size: 1rem;
    margin: 5px 0;
    color: #ffdf80;
    text-shadow: 1px 1px 3px #000;
}

.footer-social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social-icons a:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .main-footer .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        width: 80px;
    }

    .footer-text p {
        font-size: 0.9rem;
    }

    .footer-social-icons a {
        width: 30px;
        height: 30px;
        margin: 0 5px;
        margin-left: 70px;
    }
}

/* Da Vinci Section */
.da-vinci-section {
    background: url('background\ davinci.webp') center center / cover no-repeat scroll;
    background-size: cover;
    padding: 100px 20px;
    position: relative;
    color: #ffdf80;
    text-align: center;
    border: 10px solid #3e2723;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8);
}

.da-vinci-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.da-vinci-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.da-vinci-image-wrapper {
    flex: 1 1 40%;
    max-width: 300px;
    border: 5px solid #5d4037;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8);
}

.da-vinci-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.da-vinci-text-wrapper {
    flex: 1 1 55%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 20px 40px 20px;
    border-radius: 15px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.8);
    color: #ffdf80;
    text-align: left;
}

.da-vinci-title {
    font-size: 3rem;
    font-family: 'Uncial Antiqua', serif;
    margin-bottom: 20px;
    margin-top: 0;
    text-shadow: 2px 2px 8px #000;
}

.da-vinci-text {
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Garamond', serif;
    margin-bottom: 20px;
}

.da-vinci-subtext {
    font-size: 1.5rem;
    color: #ffdf80;
    font-style: italic;
    font-family: 'Garamond', serif;
    margin-bottom: 50px;
}

.meet-da-vinci-button {
    padding: 15px 40px;
    font-size: 1.5rem;
    background: linear-gradient(to bottom, #e6c26b, #b2883b);
    color: #301b0d;
    cursor: pointer;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.5), inset 4px 4px 8px rgba(255, 255, 255, 0.3);
    border: 2px solid #8b5a2b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Uncial Antiqua', serif;
}

.meet-da-vinci-button:hover {
    transform: translateY(-5px);
    box-shadow: -6px -6px 12px #5e5e5e, 6px 6px 12px black;
    background: linear-gradient(to bottom, #f1d382, #b2883b);
}

/* Responsive Design */
@media (max-width: 768px) {
    .da-vinci-content {
        flex-direction: column;
        text-align: center;
        background: none;
        background-color: #5e3600;
    }

    .da-vinci-title {
        font-size: 2.2rem;
    }

    .da-vinci-text {
        font-size: 1rem;
    }

    .da-vinci-image-wrapper {
        max-width: 80%;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .hero-subtitle1 {
        word-break: break-all;      /* Breaks the text anywhere */
        overflow-wrap: break-word;  /* Allows the text to wrap within the container */
    }

    .meet-da-vinci-button {
        padding: 12px 30px;
        font-size: 1.2rem;
    }
}