/* Global Styles */
:root {
    --tan-light: #f4d03f;
    --tan-dark: #c9a554;
    --navy: #000066;
    --cyan: #00e5ff;
    --white: #ffffff;
    --gray: #e0e0e0;
    --red: #cc0000;
    --text-color: #000000;
    --card-background: rgba(255, 255, 255, 0.9);
    --accent-color: #cc0000; /* dark red */
    --light-gray: #e0e0e0;
    --gradient-1: linear-gradient(135deg, #ff3366, #ff6b6b);
    --gradient-2: linear-gradient(45deg, #ff3366, #ff6b6b);
    --text-bright: #ffffff;
    --text-muted: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--tan-light), var(--tan-dark));
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Logo Styles */
.logo-container {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 3;
}

.hero-logo {
    width: 80px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--tan-light), var(--tan-dark));
    position: relative;
    overflow: hidden;
}

.banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
}

.banner-image {
    width: 100%;
    max-width: 1400px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    margin-top: 1rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: #000000;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #333333;
    font-weight: 400;
}

/* Remove all the fancy hero section effects */
#hero::before,
#hero::after {
    display: none;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: none;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 68, 68, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.label {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Rugs Section */
.rugs-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--background-color);
}

.rugs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Rug Card Styles */
.rug-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 350px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.rug-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.rug-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rug-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rug-card:hover .rug-image img {
    transform: scale(1.05);
}

.rug-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rug-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
}

.rug-chart {
    width: 100%;
    height: 300px;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    border: 1px solid rgba(201, 165, 84, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.rug-chart:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--tan-dark);
}

.rug-chart img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
}

.rug-story {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.rug-details {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rug-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.rug-value {
    color: #333333;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .rugs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .rugs-grid {
        grid-template-columns: 1fr;
    }
    
    .rug-card {
        max-width: 100%;
    }
    
    .rug-chart {
        height: 250px;
        margin: 0.75rem 0;
        border-radius: 12px;
    }

    .rug-chart img {
        padding: 0.5rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .logo-container {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 1rem;
    }

    .hero-logo {
        margin: 0 auto;
        width: 60px;
    }

    .banner-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .banner-image {
        width: 100%;
    }

    #hero {
        padding-top: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rug-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.rug-card:nth-child(1) { animation-delay: 0.1s; }
.rug-card:nth-child(2) { animation-delay: 0.2s; }
.rug-card:nth-child(3) { animation-delay: 0.3s; }
.rug-card:nth-child(4) { animation-delay: 0.4s; }
.rug-card:nth-child(5) { animation-delay: 0.5s; }
.rug-card:nth-child(6) { animation-delay: 0.6s; }

/* Contract Section */
.contract-section {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(201, 165, 84, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contract-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--tan-dark);
}

.contract-label {
    color: #333333;
    font-size: 1rem;
    margin-right: 1rem;
    font-weight: 500;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contract-address code {
    color: #000000;
    font-family: monospace;
    font-size: 0.95rem;
    background: rgba(244, 208, 63, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 165, 84, 0.2);
}

.copy-button {
    background: linear-gradient(135deg, var(--tan-dark), var(--tan-light));
    color: #000000;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(201, 165, 84, 0.2);
}

.copy-button:hover {
    background: linear-gradient(135deg, var(--tan-light), var(--tan-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 165, 84, 0.3);
}

.copy-button.copied {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.copy-icon {
    font-size: 1rem;
}

.copy-text {
    display: inline-block;
}

.copy-button.copied .copy-text {
    content: "Copied!";
}

@media (max-width: 768px) {
    .contract-section {
        padding: 0.75rem;
    }
    
    .contract-address {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contract-address code {
        text-align: center;
    }
    
    .copy-button {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #333333;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scroll-arrow:hover {
    color: var(--red);
    border-color: var(--red);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

@media (max-width: 768px) {
    .scroll-arrow {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        bottom: 1.5rem;
    }
}

.memorial-banner {
    background: linear-gradient(135deg, var(--tan-dark), var(--tan-light));
    padding: 1rem 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 2px solid #000000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.memorial-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.memorial-text {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.twitter-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.twitter-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.twitter-link:hover svg {
    fill: white;
}

.twitter-link svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: #000000;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .memorial-banner {
        padding: 0.75rem 1.5rem;
        margin-bottom: 1.5rem;
        border-width: 1.5px;
        gap: 1rem;
    }
    
    .memorial-text {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .twitter-link {
        width: 2rem;
        height: 2rem;
    }

    .twitter-link svg {
        width: 1rem;
        height: 1rem;
    }
}
