/**
 * Main Styles for TDService Premium
 *
 * @package TDService_Premium
 * @since 2.0.0
 */

/* ==========================================================================
   Banner Carousel Section
   ========================================================================== */

.banner-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #141414 50%, #0a0a0a 75%, #000000 100%);
}

/* Animated particles effect */
.banner-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,215,0,0.6), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255,215,0,0.5), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255,215,0,0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255,215,0,0.5), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255,215,0,0.6), transparent),
        radial-gradient(1px 1px at 33% 50%, rgba(255,215,0,0.4), transparent),
        radial-gradient(1px 1px at 77% 80%, rgba(255,215,0,0.5), transparent);
    background-size: 200% 200%;
    background-position: 50% 50%;
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes particleFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 10% 90%, 30% 70%, 70% 30%;
        opacity: 1;
    }
    25% {
        background-position: 100% 0%, 0% 100%, 60% 40%, 70% 30%, 20% 80%, 40% 60%, 80% 20%;
        opacity: 0.8;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 40% 60%, 60% 40%, 30% 70%, 50% 50%, 90% 10%;
        opacity: 1;
    }
    75% {
        background-position: 0% 100%, 100% 0%, 50% 50%, 50% 50%, 40% 60%, 60% 40%, 60% 40%;
        opacity: 0.8;
    }
}

/* Gold light beams */
.banner-carousel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255,215,0,0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255,215,0,0.03) 50%, transparent 70%);
    animation: rotateBeams 30s linear infinite;
    z-index: 0;
}

@keyframes rotateBeams {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    /* Remove background image, use pure gradient */
    background-image: none !important;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.banner-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 700px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFF 30%, #FFD700 60%, #FFF 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    animation: gradientShift 5s ease infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.banner-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, transparent 100%);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: lineExpand 3s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        width: 120px;
        opacity: 1;
    }
    50% {
        width: 180px;
        opacity: 0.8;
    }
}

.banner-description {
    font-size: clamp(17px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Banner Navigation Controls */
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #FFD700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-prev:hover,
.banner-next:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    color: #000;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

.banner-prev svg,
.banner-next svg {
    flex-shrink: 0;
}

/* Banner Dots Indicator */
.banner-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0;
}

.banner-dot:hover {
    background: rgba(255, 215, 0, 0.6);
    transform: scale(1.3);
}

.banner-dot.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    width: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-section {
    background-color: white;
}

.blog-grid {
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: var(--color-gray);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: var(--color-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.blog-date .month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta svg {
    flex-shrink: 0;
    color: #FFD700;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #FFD700;
}

.blog-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD700;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-readmore:hover {
    gap: 12px;
    color: #e0b400;
}

.blog-readmore svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.blog-readmore:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Hero Section (for fallback pages)
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M50 50m-40 0a40 40 0 1 0 80 0a40 40 0 1 0-80 0" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: var(--color-secondary);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background-color: var(--color-gray);
}

.services-grid {
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-secondary);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==========================================================================
   Product Group Section
   ========================================================================== */

.product-group-section {
    padding: 60px 0;
}

.product-group-section.bg-white {
    background-color: white;
}

.product-group-section.bg-gray {
    background-color: var(--color-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    margin-top: 10px;
}

/* ==========================================================================
   Featured Products Section
   ========================================================================== */

.featured-products-section {
    background-color: white;
}

.products-grid {
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25), 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--color-gray);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.badge-sale {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-featured {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.quick-view-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--color-secondary);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: #FFD700;
    color: var(--color-secondary);
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.5;
    min-height: 51px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-title a:hover {
    color: #FFD700;
}

.product-rating {
    margin-bottom: 0;
    min-height: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating .star {
    color: #FFD700;
    font-size: 14px;
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price .price {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.product-price del {
    font-size: 16px;
    color: #999;
    background: none;
    -webkit-text-fill-color: #999;
    text-decoration: line-through;
}

.product-actions {
    margin-top: auto;
    padding-top: 5px;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Categories Section
   ========================================================================== */

.categories-section {
    background-color: var(--color-gray);
}

.categories-grid {
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.category-card:hover {
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2), 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
}

.category-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.category-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    opacity: 0.15;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .category-image img {
    transform: scale(1.12) rotate(2deg);
}

.category-info {
    padding: 25px;
    background: white;
    text-align: center;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: #FFD700;
}

.category-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.category-card:hover .category-button {
    transform: translateY(0);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
}

/* ==========================================================================
   Call to Action Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-large svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.content-area,
.content-wrapper {
    padding: 60px 0;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.entry-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-meta svg {
    flex-shrink: 0;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content,
.entry-excerpt {
    line-height: 1.8;
    color: var(--color-text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--color-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.tags-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-links a {
    background: var(--color-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--color-text);
    transition: var(--transition);
}

.tags-links a:hover {
    background: #FFD700;
    color: var(--color-secondary);
}

/* ==========================================================================
   Archive / Blog
   ========================================================================== */

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: var(--color-gray);
    border-radius: 10px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-secondary);
}

.archive-description {
    margin-top: 15px;
    color: #666;
}

.posts-grid {
    margin-bottom: 50px;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.post-card .post-thumbnail {
    margin-bottom: 0;
    border-radius: 0;
}

.post-card .post-content {
    padding: 25px;
}

.post-card .entry-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.post-card .entry-meta {
    font-size: 13px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD700;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

.read-more svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.pagination .page-numbers:hover,
.nav-links a:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: var(--color-secondary);
}

.pagination .page-numbers.current {
    background: #FFD700;
    border-color: #FFD700;
    color: var(--color-secondary);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-secondary);
}

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    color: var(--color-secondary);
}

.back-to-top:hover svg {
    color: #FFD700;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-carousel {
        height: 500px;
    }

    .banner-prev,
    .banner-next {
        width: 45px;
        height: 45px;
    }

    .banner-prev {
        left: 20px;
    }

    .banner-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .banner-carousel {
        height: 400px;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .banner-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
    }

    .banner-prev {
        left: 10px;
    }

    .banner-next {
        right: 10px;
    }

    .banner-dots {
        bottom: 20px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 18px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-description {
        font-size: 16px;
    }

    .entry-title {
        font-size: 28px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .banner-carousel {
        height: 350px;
    }

    .banner-title {
        font-size: 24px;
    }

    .banner-description {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 16px;
    }

    .blog-date {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
    }

    .blog-date .day {
        font-size: 20px;
    }

    .blog-date .month {
        font-size: 11px;
    }
}
