/* PUMC Good Vibes Together - Custom Styles */

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gold: #F5A623;
    --color-beige: #D4B896;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    color: #000000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

p, a, span, button {
    font-family: 'DM Sans', sans-serif;
}

/* Buttons */
button {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

button:active {
    transform: scale(0.98);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-family: 'DM Sans', sans-serif;
    border: 2px solid #000000;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    background-color: #FFFACD;
    border-color: var(--color-gold);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Utility Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.badge-pulse {
    animation: pulse 2s infinite;
}

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

/* Text Utility */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Line clamping */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shadow Effects */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Border Utilities */
.border-black {
    border-color: #000000;
}

.border-gold {
    border-color: var(--color-gold);
}

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

.bg-black {
    background-color: #000000;
}

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

.text-black {
    color: #000000;
}

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

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

/* Special Brand Heading */
.brand-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.1;
}

.brand-heading.accent-gold {
    color: var(--color-gold);
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu.active {
    max-height: 500px;
}

/* Responsive Grid */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Product Card Specific */
.product-card {
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .brand-heading {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 769px) {
    .visible-mobile {
        display: none;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }

    a {
        text-decoration: underline;
    }

    .no-print {
        display: none;
    }
}
