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

:root {
    --primary-color: rgba(45,82,69,1);        /* Forest green from tree #2d5245 */
    --secondary-color: rgba(61,107,85,1);      /* Lighter forest green #3d6b55 */
    --accent-color: rgba(76,175,80,1);         /* Bright green from chevron #4CAF50 */
    --text-color: rgba(58,47,41,1);           /* Dark brown from name #3a2f29 */
    --text-color-light: rgba(201,168,118,1);             /* Tan/khaki from card background #c9a876 */
    --body-bg: rgba(201,168,118,0.5);             /* Tan/khaki from card background #c9a876 */
    --light-bg: rgba(201,168,118,0.6);             /* Tan/khaki from card background #c9a876 */
    --border-color: rgba(168,144,104,1);         /* Darker tan for borders #a89068 */
    --shadow: 0 2px 10px rgba(45,82,69,0.75);    /* Forest green from tree #2d5245 */
    --shadow-browns: 0 2px 10px rgba(58,47,41,0.5);    /* Dark brown from name #3a2f29 */
    --white: rgba(255,255,255,1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
}

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

a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.heavy{
    font-weight: 600;
}

.tiny{
    font-size: 0.75rem;
}

.mid{
    text-align: center;
}

/* Header */
header {
    /*background-color: var(--primary-color);*/
    background: linear-gradient(135deg, #2d5245 0%, #3d6b55 50%, #2d5245 100%);
    color: var(--text-color-light);
    padding: 0.75rem 0;
    text-align: center;
}

.logo-img {
    max-width: 125px;
    height: auto;
    /*margin-bottom: 1rem;*/
}

header h1 {
    font-family: YetiSmall, sans;
    font-size: 2.5rem;
    /*margin-bottom: 0.5rem;*/
    /*margin-top: -1.5rem;*/
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

/* Navigation */
nav {
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s ease;
    font-weight: 800;
    font-family: YetiSmall, sans;
    font-size: 1.2rem;
}

nav a:hover {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3d6b55 0%, #2d5245 50%, #3d6b55 100%);
    color: var(--white);
    padding: 0.2rem 0 0.4rem;
    text-align: center;
    font-family: YetiSmall, sans;
    box-shadow: var(--shadow);
}

.hero-content h2 {
    font-size: 1.5rem;
    /*margin-bottom: 1rem;*/
    font-weight: 600;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Sections */
.section {
    padding: 4rem 0;
}

#about{
    padding-top: 1rem;
}

.section-alt {
    background-color: var(--light-bg);
    box-shadow: var(--shadow-browns);
}

.section h2 {
    font-family: YetiSmall, sans;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.section h6 {
    font-family: YetiSmall, sans;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-alt .portfolio-item {
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.portfolio-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.1rem;
    font-size: 1.5rem;
}

.portfolio-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
}

.portfolio-item h5 {
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-size: 0.75rem;
}

.portfolio-item img{
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.yeti_cover{
    max-width: 25% !important;
    height: auto;
    margin-top: 1.25rem;
    float: left;
    margin-right: 1.5rem;
}

.portfolio-item .btn img{
    max-width: 100%;
    height: auto;
    margin-top: -1.5rem;
}

.portfolio-details{
    display: none;
}

.in-production{
    color: var(--secondary-color);
    margin: 1rem 0;
    font-size: 1.75rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.item-description {
    margin: 1rem 0;
    color: #666;
}

/* Services Cards */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Demo Section */
.demo-section {
    margin-top: 3rem;
    text-align: center;
}

.demo-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.audio-player {
    max-width: 600px;
    margin: 0 auto;
}

.audio-player audio {
    width: 100%;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
}

.amazon{
    min-width: 280px;
    max-width:20% !important;
    margin: 0.75rem !important;
    float: right;
}

.right{
    float: right;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--light-bg);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--border-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    /*margin-top: 3rem;*/
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        text-align: center;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .portfolio-grid,
    .services {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-in-out;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
}

.back-to-top:active {
    transform: scale(0.95);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--white);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}


a.fa {
    margin: 0.5em;
    padding: 10px;
    font-size: 30px;
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}

.fa:hover {
    color: white;
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-google {
    background: #dd4b39;
    color: white;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

/*.fa-instagram {
    background: #125688;
    color: white;
}
*/
.fa-instagram {
    /*color: transparent;*/
    color: white; /* Hides the default solid color */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); /* For Safari/Chrome */
    /*background-clip: text;*/
    /*-webkit-background-clip: text;*/ /* For Webkit browsers */
}

/* Optional: Add hover effect for interactive icons */
.fa-instagram:hover {
    background: radial-gradient(circle at 30% 107%, #285AEB 0%, #d6249f 45%, #fd5949 90%, #fdf497 100%);
    /*
    background-clip: text;
    -webkit-background-clip: text;
    */
}

.fa-pinterest {
    background: #cb2027;
    color: white;
}

.fa-snapchat-ghost {
    background: #fffc00;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-skype {
    background: #00aff0;
    color: white;
}

.fa-android {
    background: #a4c639;
    color: white;
}

.fa-dribbble {
    background: #ea4c89;
    color: white;
}

.fa-vimeo {
    background: #45bbff;
    color: white;
}

.fa-tumblr {
    background: #2c4762;
    color: white;
}

.fa-vine {
    background: #00b489;
    color: white;
}

.fa-foursquare {
    background: #45bbff;
    color: white;
}

.fa-stumbleupon {
    background: #eb4924;
    color: white;
}

.fa-flickr {
    background: #f40083;
    color: white;
}

.fa-yahoo {
    background: #430297;
    color: white;
}

.fa-soundcloud {
    background: #ff5500;
    color: white;
}

.fa-reddit {
    background: #ff5700;
    color: white;
}

.fa-rss {
    background: #ff6600;
    color: white;
}


/* Custom Fonts */
@font-face {
      font-family: 'YetiSmall'; /* Choose a name for your font */
      src: url('/fonts/YetiPrintSmallCaps-Regular.woff2') format('woff2'),
           url('/fonts/YetiPrintSmallCaps-Regular.woff') format('woff');
      font-weight: normal; /* Define the weight (e.g., normal, bold) */
      font-style: normal; /* Define the style (e.g., normal, italic) */
      font-display: swap; /* Optional: controls how font loads and displays */
    }

@font-face {
      font-family: 'YetiElder'; /* Choose a name for your font */
      src: url('/fonts/YetiElderFuthark-Regular.woff2') format('woff2'),
           url('/fonts/YetiElderFuthark-Regular.woff') format('woff');
      font-weight: normal; /* Define the weight (e.g., normal, bold) */
      font-style: normal; /* Define the style (e.g., normal, italic) */
      font-display: swap; /* Optional: controls how font loads and displays */
    }
