/* Coffee & Tea POS System Page Specific Styles */

/* Hero Section */
.coffee-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #dbeafe 100%);
    margin-top: 80px;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.hero-features-list li {
    font-size: 18px;
    color: var(--text-gray);
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.hero-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.play-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.btn-secondary .play-icon {
    background: var(--primary-green);
}

.btn-secondary:hover .play-icon {
    background: white;
    color: var(--primary-green);
}

/* Hero Illustration */
.hero-right {
    position: relative;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    overflow: hidden;
}

.desktop-screen {
    position: absolute;
    top: 10%;
    left: 8%;
    width: 85%;
    height: 65%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.4);
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.desktop-screen::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    height: 8%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.desktop-screen::after {
    content: '📊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.5;
    z-index: 2;
}

.person-blue {
    position: absolute;
    bottom: 8%;
    left: 12%;
    width: 90px;
    height: 130px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 45px 45px 15px 15px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.person-blue::before {
    content: '👤';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 55px;
}

.person-blue::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.person-green {
    position: absolute;
    bottom: 8%;
    right: 15%;
    width: 90px;
    height: 150px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 45px 45px 15px 15px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.person-green::before {
    content: '👤';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 55px;
}

.person-green::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Target Businesses Section */
.target-businesses {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
}

.business-types-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.business-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 25px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid #f3f4f6;
    min-width: 120px;
}

.business-type-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.business-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.business-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* Core Features Section */
.core-features-coffee {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Features Carousel Styles */
.features-carousel-container {
    position: relative;
    grid-column: span 2;
    padding: 0 60px;
}

.features-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.features-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.feature-card-small.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.feature-card-small.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator:hover {
    background: rgba(16, 185, 129, 0.5);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

.feature-card-large {
    grid-column: span 2;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.feature-image-1 {
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.feature-image-1::before {
    content: '👨‍💼';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    opacity: 0.3;
}

.feature-image-1::after {
    content: '💳';
    position: absolute;
    top: 30%;
    right: 20%;
    font-size: 80px;
    opacity: 0.2;
}

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.feature-card-small {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-card-small h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-card-small p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Success Cases Section */
.success-cases-coffee {
    padding: 80px 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.case-image-1 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.case-image-1::before {
    content: '👔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-image-2 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.case-image-2::before {
    content: '💻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-image-3 {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.case-image-3::before {
    content: '🥬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.case-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Social Media Icons */
.social-icon.youtube {
    background: rgba(255, 0, 0, 0.1);
}

.social-icon.youtube:hover {
    background: #ff0000;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .feature-card-large {
        grid-column: span 1;
    }

    .features-carousel-container {
        grid-column: span 1;
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .business-types-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .coffee-hero {
        padding: 60px 0;
        margin-top: 70px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .hero-features-list li {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .target-businesses,
    .core-features-coffee,
    .success-cases-coffee {
        padding: 60px 0;
    }

    .business-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .features-carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .business-types-grid {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        height: 350px;
    }

    .desktop-screen {
        width: 90%;
        left: 5%;
    }

    .person-blue,
    .person-green {
        width: 60px;
        height: 100px;
    }

    .features-carousel-container {
        padding: 0 30px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
