/* Sloth Ink - Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-green: #B8E0C8;
    --navy-blue: #2C3E50;
    --tan-beige: #D4A574;
    --brown: #8B6914;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
    --shadow-hover: 0 8px 30px rgba(44, 62, 80, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--white);
    color: var(--navy-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    transition: var(--transition);
}

.logo img:hover {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-blue);
}

.logo-text span {
    color: var(--tan-beige);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--primary-green);
    color: var(--navy-blue);
}

.nav-links a.active {
    background: var(--tan-beige);
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy-blue);
    padding: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #a8d4b8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.hero-text h1 span {
    color: var(--brown);
}

.tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-family: 'Quicksand', sans-serif;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 400px;
    border-radius: 50%;
    box-shadow: var(--shadow-hover);
    animation: gentle-bounce 4s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--tan-beige);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    background: var(--brown);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.4);
}

.btn-secondary {
    background: var(--navy-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: #1a252f;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
}

.btn-outline:hover {
    background: var(--navy-blue);
    color: var(--white);
}

/* Featured Products Section */
.featured-products {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.product-image {
    height: 300px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image .shirt-mockup {
    height: 85%;
    width: auto;
    position: relative;
    z-index: 1;
}

.product-image .logo-overlay {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    z-index: 2;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.product-image .logo-overlay.polo-position {
    top: 55%;
    transform: translate(-50%, -50%);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--tan-beige);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--navy-blue);
}

.product-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    transform: scale(1.2);
    border-color: var(--navy-blue);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brown);
    margin-bottom: 15px;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-size: 1rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--primary-green);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    padding: 12px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-features li::before {
    content: '🦥';
    font-size: 1.4rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 350px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--tan-beige);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-section ul {
    list-style: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--tan-beige);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
}

/* Products Page Specific */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #a8d4b8 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.products-page {
    padding: 80px 0;
    background: var(--light-gray);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--navy-blue);
    background: transparent;
    color: var(--navy-blue);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--navy-blue);
    color: var(--white);
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .hero-image img {
        max-width: 250px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .product-image {
        height: 220px;
    }
}
