/* Fabish Hero Section - Enhanced with Animations & Effects */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@400;500;600&display=swap');

/* CSS Variables for Dynamic Theming */
:root {
    --primary-green: #A7B798;
    --secondary-green: #93b376;
    --accent-green: #A5C47E;
    --text-white: #FFFFFF;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Floating Particles Background */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

.fabish-hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, #8FAE6B 100%);
    min-height: 700px;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

/* Enhanced Background with Particles */
.fabish-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: particle-float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Geometric Pattern Overlay */
.fabish-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.02) 50%, transparent 60%);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Column Layout */
.hero-column-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 40px;
    animation: fadeInLeft 1.2s ease-out 0.6s both;
}

.hero-column-center {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 1.2s ease-out 0.4s both;
}

.hero-column-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: fadeInRight 1.2s ease-out 0.8s both;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 84px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.0;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 2px 2px 8px var(--shadow-color);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.hero-main-title:hover {
    text-shadow: 3px 3px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.hero-main-title .highlight-text {
    color: var(--accent-green);
    position: relative;
    display: inline-block;
}

.hero-main-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-green);
    transition: width 0.6s ease;
}

.hero-main-title:hover .highlight-text::after {
    width: 100%;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 380px;
}

.hero-shop-btn {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(165, 196, 126, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.hero-shop-btn::before {
    content: '';
    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;
}

.hero-shop-btn:hover::before {
    left: 100%;
}

.hero-shop-btn:hover {
    background-color: #228B22;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(165, 196, 126, 0.5);
    animation: none;
}

.hero-shop-btn:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.main-image-container {
    position: relative;
    width: 520px;
    height: 520px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.main-image-container:hover {
    transform: scale(1.02);
    animation-play-state: paused;
}

.image-background-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

.main-face-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 25px 70px var(--shadow-color);
    border: 6px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    cursor: pointer;
}

.main-face-image:hover {
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
    border: 6px solid rgba(255,255,255,0.4);
}

.products-image-container {
    width: 212px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 27px 67px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 121px;
    transition: all 0.4s ease;
    cursor: pointer;
    animation: float 4s ease-in-out infinite 1s;
}

.products-image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.98);
    animation-play-state: paused;
}

.products-image {
    width: 100%;
    height: 291px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.products-image-container:hover .products-image {
    transform: scale(1.05);
    border-radius: 12px;
}

.product-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    background-color: #A5C47E;
    padding: 8px 16px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .fabish-hero-section {
        padding: 60px 80px;
    }
    
    .hero-main-title {
        font-size: 64px;
    }
    
    .main-image-container {
        width: 400px;
        height: 400px;
    }
    
    .products-image-container {
        width: 240px;
        margin-top: 20px;
    }
    
    .products-image {
        height: 180px;
    }
}

@media (max-width: 992px) {
    .fabish-hero-section {
        padding: 50px 30px;
        min-height: auto;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-column-left, .hero-column-right {
        align-items: center;
    }
    
    .hero-column-left {
        padding-right: 0;
    }
    
    .hero-main-title {
        font-size: 64px;
    }
    
    .main-image-container {
        width: 400px;
        height: 400px;
    }
    
    .products-image-container {
        width: 280px;
        margin-left: 0;
    }
    
    .products-image {
        height: 180px;
    }
    
    .hero-description {
        max-width: 500px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .fabish-hero-section {
        padding: 40px 20px;
        min-height: auto;
    }
    
    .hero-title-wrapper {
        margin-bottom: 30px;
    }
    
    .hero-main-title {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -1px;
    }
    
    .hero-content-wrapper {
        gap: 30px;
    }
    
    .hero-column-left {
        order: 2;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-column-center {
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-column-right {
        order: 3;
        justify-content: center;
    }
    
    .hero-description {
        font-size: 15px;
        max-width: 100%;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .main-image-container {
        width: 300px;
        height: 300px;
    }
    
    .products-image-container {
        width: 260px;
        margin-left: 0;
        padding: 15px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.4);
    }
    
    .products-image {
        height: 180px;
    }
    
    .hero-shop-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .fabish-hero-section {
        padding: 30px 15px;
    }
    
    .hero-title-wrapper {
        margin-bottom: 25px;
    }
    
    .hero-main-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-content-wrapper {
        gap: 25px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .main-image-container {
        width: 250px;
        height: 250px;
    }
    
    .image-background-blur {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }
    
    .products-image-container {
        width: 220px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        border: 2px solid rgba(255, 255, 255, 0.5);
        margin-left: 0;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }
    
    .products-image {
        height: 291px;
        object-fit: cover;
    }
    
    .product-label {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-shop-btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 25px;
    }
}
