/* Font-face rule to access custom fonts */
@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/DMSans-Regular.woff') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* BODY*/
body {
    font-family: 'CustomFont', Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.6;
}


.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* MAIN HEADER */
.main-header {
    background-color: #f0f4f8;
    padding: 5px 0;
    border-bottom: 2px solid #d3d3d3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Layout */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


/* Center Panel (Logo/Site Name) */
.header-center h1 {
    font-family: 'CustomFont', Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    color: #333;
}




/* Right Panel (Options) */
.nav-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-right ul li {
    margin-left: 20px;
}

.nav-right ul li a {
    color: #333;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
}

.nav-right ul li a:hover {
    color: #007bff;
}



/* New Sticky Sub-Header Section */
.sticky-subheader {
    position: sticky;
    top: 60px;
    /* Adjust based on the height of the main header */
    z-index: 999;
    background-color: #f0f4f8;
    padding: 30px 0;
    /* Initial padding for larger sub-header */
    font-size: 1rem;
    /* Initial font size */
    text-align: left;
    border-bottom: 2px solid #d3d3d3;
    transition: padding 0.3s ease, font-size 0.3s ease;
    /* Smooth shrinking effect */
    min-height: 60px;
    /* Ensure the section has a minimum height */
}

/* Shrink the section when scrolled */
.sticky-subheader.shrink {
    padding: 15px 0;
    /* Reduced padding when scrolled */
    font-size: 0.5rem;
    /* Smaller font size when scrolled */
    min-height: 40px;
    /* Ensure the text remains visible */
}



/*SECTION*/
/* General Section Styling */
.section {
    padding: 60px 0;
    /* Increased padding for all sections for easier spacing control */
    margin-bottom: 0;
    width: 100%;
}

/* Content Section */
.content-section {
    padding: 10px 0;
    /* Consistent padding for better layout */
    margin-bottom: 0;
}

/* Full-Width Static Image Section */
.section.image-section {
    width: 100%;
    height: 200px;
    overflow: hidden;
    padding: 20px 0;
    /* Ensures the image section has similar padding */
}

.section.image-section img {
    width: 100%;
    height: 200%;
    /* Ensures image fills the section */
    display: block;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.3) saturate(1.2) sepia(0.1);
    /* Apply the filter */
    transition: filter 0.3s ease;
    /* Optional: Smooth transition for hover effects */
}

/* Optional hover effect */
.section.image-section img:hover {
    filter: brightness(0.7) contrast(1.6) saturate(1.3) sepia(0.2);
}





/* Main Content */
.main-content {
    padding: 60px 0;
    /* Adjusted padding for main content */
    min-height: 60vh;
    background-color: #f0f4f8;
}

/* Content Grid for Panels */
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

/* Set box-sizing to Control Spacing To ensure consistent spacing and avoid extra unintended width/height issues,
verify that box-sizing is applied globally:*/
* {
    box-sizing: border-box;
    /* Includes padding and border in element's width/height */
}








/* FOOTER */
.main-footer {
    background-color: #f0f4f8;
    color: #333;
    padding: 40px 0;
    /* Consistent footer padding */
    border-top: 2px solid #d3d3d3;
    text-align: center;
}

.footer-links a,
.social-links a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .header-flex {
        flex-direction: column;
        text-align: center;
    }

    .nav-left ul,
    .nav-right ul {
        justify-content: center;
        margin-top: 10px;
    }
}

/*PANEL IMAGES*/

/* Panel Styling */
.panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: inherit;
    font-family: 'CustomFont', Arial, sans-serif;
    height: 100%;
}

.image-container {
    width: 300px;
    /* Set desired width */
    height: 200px;
    /* Set desired height */
    margin-right: 20px;
    margin-left: 00px;
    overflow: hidden;
    /* Hide overflow to maintain aspect ratio */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the container without distortion */
}



/*PANEL LINKS*/
.panel-link {
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Inherit color from parent (panel styling) */
    display: block;
    /* Ensure the link covers the whole panel */
}

.panel-link:hover {
    text-decoration: none;
    opacity: 0.9;
    /* Optional hover effect */
}

/* Target <a> inside the panel explicitly to override Firefox defaults */
.panel-link a {
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Use the color of the parent container */
}


/*PANEL TABLE*/
/* Remove default styles for links inside tables */
.panel table a {
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Inherit color from parent (panel or table) */
}

/* Hover effect for links inside tables */
.panel table a:hover {
    text-decoration: none;
    opacity: 0.9;
    /* Optional hover effect */
}

/* General link styles in panel, ensuring no underline anywhere */
.panel a {
    text-decoration: none;
    color: inherit;
}

/* Hover styles for all links in panels */
.panel a:hover {
    opacity: 0.8;
    /* Optional subtle hover effect */
}

/* Table Header Styling */
th {
    text-align: left;
    /* Align text to the left */
    font-family: 'CustomFont', Arial, sans-serif;
    /* Use your custom font */
    /*font-size: 1rem;*/
    padding: 8px 15px;
    /* Add padding for spacing */
    border-bottom: 1px solid #d3d3d3;
    /* Optional: Add a bottom border for separation */
}

/* To simulate justified alignment visually */
table {
    width: 100%;
    /* Ensure the table takes full width */
    border-collapse: collapse;
    /* Remove gaps between table cells */
}

td {
    text-align: left;
    /* Align text to the left */
    font-family: 'CustomFont', Arial, sans-serif;
    /* Use your custom font */
    /*font-size: 1rem;*/
    padding: 8px 15px;
    /* Add padding for spacing */
    border-bottom: 1px solid #d3d3d3;
    /* Optional: Add a bottom border for separation */
}



/* PANEL LISTS*/
/* Styling for the product list inside panels */
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

/* Align items in a row for desktop, stack on mobile */
.product-list li {
    display: flex;
    justify-content: space-between;
    /* Space out text and alignments */
    margin-bottom: 10px;
    padding: 5px 0;
}

/* Ensure alignment with the image */
.panel .product-list {
    padding-left: 20px;
}

/* Adjust for mobile responsiveness */
@media screen and (max-width: 768px) {
    .product-list li {
        flex-direction: column;
        /* Stack items vertically */
        text-align: left;
    }
}


/*CTA*/
.cta-buttons {
    display: flex;
    /* Use flexbox for layout */
    justify-content: space-evenly;
    /* Space buttons evenly */
    margin-top: 10px;
    /* Add spacing above buttons */
    gap: 10px;
    /* Add spacing between buttons */
}

/* Styling for CTA Buttons */
.contact-button,
.whatsapp-button {
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.6rem;
    font-family: 'CustomFont', Arial, sans-serif;
    color: white !important;
    /* Force white font color */
    background-color: #333;
    /* Default background color for Call button */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Call Button */
.contact-button {
    background-color: #333;
    /* Adjusted background for Call button */
}

.contact-button:hover {
    background-color: #0056b3;
    /* Hover effect for Call button */
}

/* WhatsApp Button */
.whatsapp-button {
    background-color: #25d366;
    /* Green WhatsApp color */
}

.whatsapp-button:hover {
    background-color: #128c7e;
    /* Darker green on hover */
}





/*REHASH DESCRIPTION tiptoshoes*/

.description ul {
    list-style-type: upper-roman;
    /* Adds bullet points so fancy*/
    padding-left: 0px;
    /* Adds some left padding for indentation this makes right sooo jealous*/
    margin: 10px 0;
    /* Adds space above and below the list covered!*/
    text-align: Left;

    /*list-style: none;*/
    margin-bottom: 10px;
}

.description li {
    display: list-item;
    /* Ensures list items are displayed in block format I love blocks!*/
    margin-bottom: 5px;
    /* Adds spacing between list items */
}

.description h2,
.description h3 {

    text-align: justify;
    text-transform: uppercase;
}




/*BRAND REHASH tiptoshoes*/
.brand {
    flex-grow: 1;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 10px 10px;
    border-bottom: 2px solid #d3d3d3;
    font-size: inherit;
    font-weight: bold;
    color: #333;
    padding-bottom: 5px;
}



/*FORM
/* General Styling for the Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'CustomFont', Arial, sans-serif;
    color: #333;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 12px;
}

.form-row input,
.form-row textarea {
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 5px;
    font-size: inherit;
    outline: none;
    width: 100%;
    transition: border-color 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-bottom: 2px solid #007bff;
}

.form-row textarea {
    resize: none;
    height: 80px;
}

.submit-btn {
    background-color: #04080c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}




/* SOCIAL MEDIA*/
.footer-policies ul,
.footer-social ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.footer-policies li,
.footer-social li {
    display: inline;
    margin: 0 10px;
}

.footer-policies a,
.footer-social a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.footer-policies a:hover,
.footer-social a:hover {
    text-decoration: none;
}




/* DROP CAP */
.drop-cap {
    text-transform: uppercase;
    /* Makes all text capitalized */
    text-align: justify;
    /* Justifies text alignment */
    font-size: small;
}

.drop-cap::first-letter {
    font-size: 2.0em;
    /* Makes the first letter larger */
    font-weight: bold;
    /* Makes the first letter bold */
    float: left;
    /* Ensures it flows nicely with the text */
    margin-right: 2px;
    /* Adds spacing between the first letter and the rest */
    line-height: 1;
    /* Ensures consistent vertical alignment */
}





/*VIDEO CONTAINER*/
/* Video Section */

.video-section {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    /* Ensures video fits within its section */
}

.video-section video {
    width: 100%;
    /* Make video span the full width of the screen */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Removes inline spacing */
    object-fit: cover;
    /* Ensures the video fills the section nicely */
    filter: brightness(1.0) contrast(1.1) saturate(1.3) sepia(0.6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

/* Add a hover effect for a dynamic filter change */
.video-section:hover {
    filter: brightness(0.9) contrast(1.3) saturate(1.6) sepia(0.3);
}

/* Text Overlay */
.text-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    font-family: 'CustomFont', Arial, sans-serif;
    text-align: left;
    max-width: 40%;
    /*background-color: rgba(0, 0, 0, 0.5);
    /* Optional: adds a slight dark background to text */
    padding: 20px;
    border-radius: 10px;
    /* Optional: soft edges for the text box */
}

.text-overlay h1,
.text-overlay h2,
.text-overlay h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.text-overlay p {
    font-size: 1rem;
    line-height: 1.5;
}





/* IMAGE ONLY TEXT OVERLAY */
.image-overlay {
    position: relative;
}

.image-overlay img {
    width: 100%;
    height: 150px;
    display: block;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.2) saturate(1.1);
}

.image-overlay .text-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    /* Ensure text overlay is on top */
    color: white;
    font-family: 'CustomFont', Arial, sans-serif;
    text-align: left;
    max-width: 40%;
    /*background-color: rgba(0, 0, 0, 0.5);
    /* Dark background for better contrast */
    padding: 15px;
    border-radius: 5px;
}

.image-overlay .text-overlay h1 {
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.image-overlay .text-overlay p {
    font-size: 1rem;
    line-height: 1.4;
}





/* HEADER FLEX*/
/* General Header Styles */
header .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: left;
    padding: 10px 10px;
    /* Adjust spacing for mobile */
}

/* Navigation Menu */
header .nav-left ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

header .nav-left ul li {
    margin-right: 15px;
    /* Adjust spacing between items */
}

header .nav-left ul li a {
    text-decoration: none;
    font-size: 12px;
    /* Adjust font size */
    color: #333;
}

header .nav-left ul li img {
    max-width: 50px;
    /* Adjust logo size */
    height: auto;
}

/* Center Panel */
header .header-center h2 {
    font-size: 1rem;
    /* Adjust font size for mobile */
    text-align: center;
}

/* Right Panel */
header .nav-right {
    display: flex;
    justify-content: flex-end;
}

header .nav-right .cta-buttons {
    margin-left: 15px;
    /* Adjust spacing for buttons */
}

header .nav-right .whatsapp-button {
    padding: 5px 10px;
    /* Reduce button padding for mobile */
    font-size: 0.8rem;
    /* Reduce button font size */
}

/* Responsive Design for Mobile */
@media screen and (max-width: 768px) {
    header .header-flex {
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
    }

    /* Specific Styling for "Home" and "About" Menu Items */
    header .nav-left ul li a {
        text-decoration: none;
        font-size: 12px;
        /* Set exact font size for menu items */
        color: #333;
        /* Ensure consistent text color */
        padding: 5px;
        transition: color 0.3s ease;
    }

    header .nav-left ul li a:hover {
        color: #007bff;
        /* Add hover effect */
    }

    header .header-center h2 {
        font-size: 1.2rem;
        /* Further reduce font size */
        text-align: center;
        margin-bottom: 10px;
        /* Add spacing for readability */
    }

    header .nav-right {
        margin-top: 10px;
        /* Add space above buttons */
    }

    header .nav-right .cta-buttons {
        display: flex;
        justify-content: center;
    }

    header .nav-left ul li img {
        max-width: 40px;
        /* Further reduce logo size */
    }
}