/* Import Adobe Garamond Pro */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Countdown Banner Styles */
.countdown-banner {
    color: #fff;
    position: relative;
    height: 720px;
    min-height: 720px;
    background: url('../images/homepage%20latest%20banner%20.jpg') no-repeat center center/cover;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 5%;
    padding-bottom: 120px;
    box-sizing: border-box;
}

.countdown-container {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 15px 25px;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
    margin: 30px 0 0 0;
    backdrop-filter: blur(5px);
    width: auto;
    max-width: none;
    text-align: right;
}

/* Banner Text Overlay */
.banner-text-overlay {
    position: absolute;
    top: 25%;
    right: 10%;
    text-align: right;
    max-width: 50%;
    z-index: 5;
    width: auto;
    padding: 0;
    margin-bottom: 30px;
}

.banner-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    white-space: nowrap;
}

.banner-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffcc00;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    line-height: 1.2;
    white-space: nowrap;
}

.banner-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin: 5px 0 0 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    line-height: 1.4;
    display: block;
    width: 100%;
}

.countdown-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 12px 0;
    text-align: right;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 0 15px;
}

.countdown-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
}

.countdown-text {
    position: absolute;
    bottom: 120px; /* Adjusted position */
    right: 10%;
    text-align: right;
    width: auto;
    max-width: 500px;
}

.countdown-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-text p {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Countdown item styles */
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 8px;
    min-width: 100px;
    background: #000;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Digital watch style segments */
.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.countdown-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.5);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    min-width: 130px;
    background: rgba(0, 0, 0, 0.8);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 0, 0, 0.4);
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    color: #ff0000; /* Red color */
    line-height: 1;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 5px;
    font-family: 'Arial', sans-serif;
}

.countdown-separator {
    font-size: 3rem;
    color: #fff;
    margin: 0 5px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transform: translateY(-15px);
}

/* Enhanced Reflection Effect with Better Blur and Red Glow */
.countdown-reflection {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0.6;
    transform: scaleY(0.6) translateY(5px);
    filter: blur(4px) brightness(1.2);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}

.countdown-item.reflection {
    transform: scaleY(-0.6) translateY(5px);
    background: rgba(255, 0, 0, 0.1);
    padding: 10px 15px 40px;
    min-width: 110px;
    backdrop-filter: blur(8px);
    box-shadow: 0 -5px 20px rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-item.reflection .countdown-number {
    color: rgba(255, 0, 0, 0.6);
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(255, 0, 0, 0.2);
    font-size: 2.4rem;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    transform: scale(0.9);
    opacity: 0.9;
}

.countdown-item.reflection .countdown-label {
    opacity: 0.6;
    filter: blur(1px) brightness(1.1);
    transform: translateY(5px);
}

/* Add a subtle gradient overlay to the reflection */
.countdown-reflection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        transparent 100%);
    pointer-events: none;
}

/* Hover effects */
.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .countdown-content h1 {
        font-size: 2.8rem;
    }
    
    .countdown-content p {
        font-size: 1.3rem;
    }
    
    .countdown-item {
        min-width: 100px;
        margin: 0 10px;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .countdown-banner {
        height: 600px;
        min-height: 600px;
        padding: 0 5%;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 10px 8px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-text {
        bottom: 60px;
    }
}

@media (max-width: 768px) {
    .countdown-banner {
        height: 500px;
        min-height: 500px;
        padding: 20px 20px 25% 20px; /* Adjusted padding for mobile */
        justify-content: center;
        text-align: center;
    }
    
    .countdown-wrapper {
        justify-content: center;
    }
    
    .countdown-text {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
        width: 100%;
        padding: 0 20px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-text h2 {
        font-size: 2rem;
    }
    
    .countdown-text p {
        font-size: 1rem;
    }
    
    .countdown-content h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .countdown-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .countdown-wrapper {
        margin: 30px 0;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
        margin: 0 5px;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-separator {
        font-size: 2rem;
        transform: translateY(-10px);
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .countdown-banner {
        height: 520px;
        min-height: 520px;
    }
    
    .countdown-wrapper {
        gap: 8px;
        margin-bottom: 60px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-text h2 {
        font-size: 1.5rem;
    }
    
    .countdown-text p {
        font-size: 0.9rem;
    }
    
    .countdown-reflection {
        bottom: -40px;
        height: 30px;
    }
    
    .countdown-content h1 {
        font-size: 1.8rem;
    }
    
    .countdown-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 5px;
        margin: 0 2px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
        transform: translateY(-8px);
    }
    
    .countdown-reflection {
        height: 40px;
    }
    
    .banner-buttons .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
