/* Custom Styles for Circle City Glass */

/* Hero Section Background */
.hero-section {
    background: linear-gradient(rgba(45, 55, 72, 0.7), rgba(45, 55, 72, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Project Card Overlay */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.project-card img {
    transition: transform 0.4s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-info {
    opacity: 1;
}

/* MODIFIED: Testimonial Carousel Styles */
.testimonial-section {
    position: relative;
}

.testimonial-item {
    padding: 1rem;
    min-height: 200px; /* Ensures consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Custom Navigation Buttons */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-nav:hover {
    background-color: rgba(240, 180, 41, 0.8); /* Golden Sand on hover */
}

.testimonial-nav.left-0 {
    left: -20px;
}

.testimonial-nav.right-0 {
    right: -20px;
}

/* Fade animation for carousel items */
.testimonial-item.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.testimonial-item.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

/* General Body Font */
body {
    font-family: 'Roboto', sans-serif;
}

/* Custom Icon for Logo */
.fa-hexagon {
    transform: rotate(90deg); /* Optional: Rotate for a different look */
}

/* ADD THESE STYLES TO YOUR EXISTING style.css FILE */

/* Page Hero Section */
.page-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Team Card Hover Effect */
.team-card {
    transition: transform 0.3s ease;
}

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

.team-card img {
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(45, 55, 72, 0.2);
}

/* ADD THIS STYLE TO YOUR EXISTING style.css FILE */

/* Detailed Service Card Hover Effect */
.detailed-service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.detailed-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-left-color: #F0B429; /* Golden Sand Accent */
}

/* ADD THESE STYLES TO YOUR EXISTING style.css FILE */

/* Gallery Filter Buttons */
.gallery-filter-button {
    padding: 0.5rem 1.5rem;
    border: 2px solid #3C4F76; /* Slate Blue */
    color: #3C4F76; /* Slate Blue */
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.gallery-filter-button:hover {
    background-color: #3C4F76; /* Slate Blue */
    color: white;
}

.gallery-filter-button.active {
    background-color: #3C4F76; /* Slate Blue */
    color: white;
    box-shadow: 0 4px 14px rgba(60, 79, 118, 0.3);
}

/* Gallery Item Styling */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 79, 118, 0.8); /* Slate Blue with transparency */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-item-overlay p {
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
}

/* Animation for filtering */
.gallery-item.hidden-item {
    display: none;
}

/* ADD THIS STYLE TO YOUR EXISTING style.css FILE */

/* Contact Form Input Styling */
.contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB; /* Gray-300 */
    border-radius: 0.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #3C4F76; /* Slate Blue */
    box-shadow: 0 0 0 3px rgba(60, 79, 118, 0.2);
}