/* styles.css */

/* Modern color palette for adult pant company */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #7f8c8d;
  --background-color: #ecf0f1;
  --text-color: #2c3e50;
  --gold-color: #d09910; /* Darker, more muted gold */
  --silver-color: #b4b4b4; /* Brighter silver */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: rgba(236, 240, 241, 0.6); /* Adjust the last value (0.9) for opacity */
    min-height: 100vh; /* Ensure the body takes at least the full viewport height */
    position: relative; /* Add this to contain the absolute-positioned footer */
    padding-bottom: 60px; /* Add padding to the body to account for the footer */
    box-sizing: border-box; /* Include padding in the element's total height */
    /* Add a subtle pattern background */
    /* background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
    background-image: url('https://github.com/jtarantiles/SKO/blob/805948102c5e2eaa5137b1e2e6722bd7ec9ae2a6/SKO.svg');
    background-repeat: repeat;
    background-size: 20px 20px; /* Adjust this value to match your SVG size */
    background-blend-mode: overlay; /* This blends the background color with the image */
    
}

header {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.5rem;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px; /* Add padding to the bottom */
}

/* Paragraph styling */
p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2em;
    text-align: center; /* Changed from justify to center */
    max-width: 65ch;
    margin-left: auto; /* Added to help center the paragraph */
    margin-right: auto; /* Added to help center the paragraph */
    transition: color 0.3s ease;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.color-options {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.color-option {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set a fixed height for the footer */
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Heading color updates */

h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    text-align: center; /* Center the text within the h2 */
    width: 100%; /* Ensure the h2 takes up the full width of its container */
}

h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 100%;
}

h3, h4 {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

h3::after, h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

h3:hover::after, h4:hover::after {
    width: 100%;
}

/* Import a fun, stylish font - feel free to change this to any Google Font you prefer */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Style for the main header */
.main-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    overflow: visible;
    height: auto;
    line-height: 1.2;
    padding: 10px 0;
    color: var(--silver-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Style for the S, K, and O */
.main-header .highlight {
    color: var(--gold-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
    position: relative;
    font-size: 1.4em; /* Make highlighted letters 40% larger */
    vertical-align: bottom; /* Align the bottom of the letters */
    /* animation: highlightLetters 3s forwards;
    animation-delay: 1s; */
}

/* Style for the rest of the letters */
.main-header .normal {
    color: var(--silver-color);
    display: inline-block;
    position: relative;
    /* animation: shrinkLetters 3s forwards;
    animation-delay: 1s; */
}

/* Style for each word */
.main-header span {
    display: inline-block;
    /* animation: bringWordsCloser 3s forwards;
    animation-delay: 1s; */
}

/* Remove the underline effect */
.main-header::after {
    display: none;
}

/* Keyframe animation for highlighting S, K, O */
/* @keyframes highlightLetters {
    0% { 
        transform: scale(1);
        letter-spacing: 2px;
    }
    100% { 
        transform: scale(1.2);
        letter-spacing: -500px;
    }
} */

/* Keyframe animation for shrinking other letters */
/* @keyframes shrinkLetters {
    0% { 
        opacity: 1;
        transform: scale(1) translate(0, 0);
        letter-spacing: 2px;
    }
    100% { 
        opacity: 0.5;
        transform: scale(0.3) translate(45px, 50px);
        letter-spacing: -3px;
    }
} */

/* Keyframe animation for bringing words closer */
/* @keyframes bringWordsCloser {
    0% {
        margin-left: 0;
        margin-right: 0;
    }
    100% {
        margin-left: -15px;
        margin-right: -15px;
    }
} */

/* Add this new class */



/* Add this new keyframe animation */
/* @keyframes highlightO {
    0% { 
        transform: scale(1);
        margin-left: 0;
    }
    100% { 
        transform: scale(1.2);
        margin-left: -5px;
    }
} */

/* Add this new class for normal letters after O */


/* Add this new keyframe animation */
/* @keyframes shrinkLettersAfterO {
    0% { 
        opacity: 1;
        transform: scale(1) translate(0, 0);
        letter-spacing: 2px;
    }
    100% { 
        opacity: 0.5;
        transform: scale(0.3) translate(-70px, 50px);
        letter-spacing: -3px;
    }
} */
/*
.logo {
    width: 60px;
    height: 72px;
    margin-bottom: 10px;
} */

.logo {
    position: absolute;
    top: 30px;
    left: 885px;
    padding: 10px;
    width: 25vw; /* 25% of the viewport width */
    max-width: 500px; /* Maximum width of 500px */
}

.logo svg {
    width: 15%; /* Fill the width of its container */
    height: auto;
}


.cta-button {
    text-align: center;
    margin: 30px 0;
}

.cta-button a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FF6B6B;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button a:hover {
    background-color: #FF4F4F;
}