* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    overflow-x: hidden;
    color: #E8DCC8;
    max-width: 100vw;
    position: relative;
}

section {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}

/* Better color palette */
:root {
    --bg-dark: #1a1a1a;
    --bg-brown: #2d1f16;
    --bg-teal: #1e6b6b;
    --text-cream: #E8DCC8;
    --text-light: #f5f5f5;
    --accent-gold: #d4a574;
    --accent-teal: #4db8b8;
}

.hero-section {
    background: linear-gradient(180deg, #2d1f16 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.section-dark {
    background-color: var(--bg-dark);
}

.section-brown {
    background-color: var(--bg-brown);
}

.section-teal {
    background-color: var(--bg-teal);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #c49563;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-cream);
    border: 2px solid var(--text-cream);
}

.btn-secondary:hover {
    background-color: var(--text-cream);
    color: #1a1a1a;
}

.btn-teal {
    background-color: var(--accent-teal);
    color: #1a1a1a;
}

.btn-teal:hover {
    background-color: #3da3a3;
}

/* Cards */
.card {
    background: rgba(45, 31, 22, 0.6);
    border: 2px solid rgba(232, 220, 200, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.15);
}

.card-light {
    background: var(--text-cream);
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.card-light:hover {
    border-color: var(--accent-gold);
}

/* Logo */
.logo-container {
    max-width: 100px;
}

@media (min-width: 768px) {
    .logo-container {
        max-width: 140px;
    }
}

.logo-hero {
    max-width: 180px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .logo-hero {
        max-width: 250px;
    }
}

/* Navigation */
nav {
    position: relative;
}

.nav-mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 0 20px 0 20px;
    gap: 16px;
    border-top: 2px solid var(--accent-gold);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out, visibility 0.3s;
    z-index: 30;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile-menu.active {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
    visibility: visible;
}

.nav-link {
    color: var(--text-cream);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-cream);
    transition: all 0.3s ease;
}

.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);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-desktop {
        display: flex !important;
    }
}

/* Typography */
h1, h2 {
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: 2.75rem !important;
    font-weight: 400;
    line-height: 1.1;
}

@media (min-width: 768px) {
    h1 {
        font-size: 5rem !important;
    }
}

h2 {
    font-size: 2rem !important;
    font-weight: 400;
    line-height: 1.1;
}

@media (min-width: 768px) {
    h2 {
        font-size: 2rem !important;
    }
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    h3 {
        font-size: 2rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tshirt-image {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.carousel-item {
    box-sizing: border-box;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Utilities */
.accent-gold {
    color: var(--accent-gold);
}

.accent-teal {
    color: var(--accent-teal);
}

/* Form inputs */
input, textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 2px solid rgba(232, 220, 200, 0.3);
    background: rgba(26, 26, 26, 0.5);
    color: var(--text-cream);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: rgba(232, 220, 200, 0.5);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

textarea {
    resize: vertical;
    min-height: 120px;
}
