/* index.css - Main styles for Artisan Leather Co. */

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
    /* Bootstrap fixed-top class handles positioning */
}

/* Ensure fixed-top works */
.navbar.fixed-top {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1030 !important;
}

.navbar-brand {
    font-family: var(--font-family-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: color var(--transition-normal);
    cursor: pointer;
    padding: var(--spacing-sm) var(--spacing-md) !important;
}

.nav-link.active {
    color: white !important;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: white !important;
}

/* Full-Width Hero Section with Animations */
.fullscreen-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
    overflow: hidden;
    color: white;
    margin-top: -88px; /* Pull up to cover navigation area */
}

/* Background with parallax effect */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 35, 34, 0.92) 0%,
        rgba(44, 24, 16, 0.95) 50%,
        rgba(59, 35, 34, 0.92) 100%);
    z-index: 2;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 3;
}

/* Floating elements animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    animation: float 15s infinite ease-in-out;
}

.floating-element.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element.element-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 88px; /* Account for navigation height */
    box-sizing: border-box;
}

/* Badge animation */
.hero-badge-wrapper {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.animated-badge {
    display: inline-block;
    background: linear-gradient(90deg, #8b4513, #d4af37);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.animated-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Main title with animation */
.hero-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
}

.title-line.accent {
    color: #f8d568;
    animation-delay: 0.3s;
    animation-fill-mode: both;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle animation */
.animated-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    animation: fadeIn 1.5s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.animated-button {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-primary-hero {
    background: linear-gradient(90deg, #8b4513, #d4af37);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.animated-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.btn-primary-hero:hover {
    background: linear-gradient(90deg, #a0522d, #e6c158);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary-hero:hover {
    border-color: #f8d568;
    background: rgba(248, 213, 104, 0.2);
    color: #fff8e1;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.animated-button:hover .button-hover-effect {
    left: 100%;
}

/* Stats animation */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeIn 2s ease-out 1.2s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f8d568;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0.9;
    font-weight: 600;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 2s ease-out 1.5s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    transform: rotate(45deg);
    animation: arrowDown 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Value Propositions */
.value-propositions {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xl) 0;
}

.value-card {
    padding: var(--spacing-xl);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.btn-primary-custom:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary-custom {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Product Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
    background: white;
    margin-bottom: var(--spacing-xl);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.sale {
    background-color: #dc3545;
    color: white;
}

.product-actions {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.product-action-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: var(--spacing-lg);
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.product-price del {
    font-size: 1rem;
    color: #999;
    margin-right: var(--spacing-sm);
}

.btn-add-to-cart {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn-add-to-cart:hover {
    background-color: var(--accent-color);
}

/* Category Cards */
.category-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 200px;
    margin-bottom: var(--spacing-xl);
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: var(--spacing-md);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-md);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.footer-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-xs);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .fullscreen-hero {
        min-height: 600px;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .animated-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .animated-button {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .value-card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-md);
    }
    
    .navbar-nav {
        margin-top: var(--spacing-md);
    }
    
    .product-img {
        height: 200px;
    }
    
    .category-card {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .fullscreen-hero {
        min-height: 500px;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .animated-subtitle {
        font-size: 1rem;
    }
    
    .animated-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .value-card h3 {
        font-size: 1.25rem;
    }
}
    
    .section-title {
        font-size: 1.5rem;
    }
}