/* Coral Pottery Custom Styles */

/* Color Variables */
:root {
    --terracotta: #C1442E;
    --sand: #F5E6D3;
    --sea-blue: #2E5266;
    --terracotta-light: #D4634A;
    --terracotta-dark: #A03B28;
}

/* Typography */
body {
    font-family: 'Futura', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', sans-serif;
    font-weight: 600;
}

.brand-text {
    font-family: 'Futura', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--terracotta);
}

/* Logo Styling */
.navbar-brand img,
.footer-logo {
    background-color: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.footer-logo {
    height: 80px;
    width: auto;
}

/* Color Classes */
.text-terracotta {
    color: var(--terracotta) !important;
}

.bg-terracotta {
    background-color: var(--terracotta) !important;
}

.bg-sand {
    background-color: var(--sand) !important;
}

.bg-sea-blue {
    background-color: var(--sea-blue) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 68, 46, 0.3);
}

.btn-outline-primary {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

.btn-outline-primary:hover {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
}

.btn-white {
    background-color: white;
    border-color: white;
    color: black;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: none !important;
    border: none !important;
}

.navbar-transparent {
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar-brand svg {
    transition: transform 0.3s ease;
}

.navbar-brand:hover svg {
    transform: rotate(45deg);
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--terracotta) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Pill Container */
.nav-pill-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 0 20px rgba(128, 128, 128, 0.3), 0 0 40px rgba(128, 128, 128, 0.1);
}

.nav-pill-container .navbar-nav {
    flex-direction: row;
    gap: 0.5rem;
}

.nav-pill-container .nav-link {
    padding: 0.5rem 1rem;
    margin: 0;
    border-radius: 25px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.nav-pill-container .nav-link::after {
    display: none;
}

.nav-pill-container .nav-link:hover {
    color: var(--terracotta) !important;
    transform: scale(1.1);
}

.nav-pill-container .nav-link.active {
    background-color: var(--terracotta);
    color: white !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
}

.nav-pill-container .nav-link.active:hover {
    background-color: var(--terracotta-dark);
    color: white !important;
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
}

/* Page Header Section */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.page-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 2.5rem));
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    width: 100%;
    padding: 0 2rem;
}

.page-header-title {
    font-family: 'Century Gothic', 'ITC Avant Garde Gothic', 'Futura', 'Avenir Next', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.page-header-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 3;
    text-align: left;
    color: white;
    max-width: 600px;
    padding: 0;
}

.hero-title {
    font-family: 'Century Gothic', 'ITC Avant Garde Gothic', 'Futura', 'Avenir Next', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons .btn {
    margin: 0.25rem 0.5rem 0.25rem 0;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* Quick Links Cards */
.quick-links {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.quick-link-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid var(--sand);
    transform: translateY(0);
}

a.quick-link-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(39, 145, 65, 0.15);
    border-color: var(--terracotta);
}

.quick-link-card .card-img-top {
    height: 200px !important;
    min-height: 200px;
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.quick-link-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
}

.quick-link-card .card-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.quick-link-card .card-title {
    color: var(--terracotta);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* TUI-Style Button for Quick Link Cards */
.quick-link-card .btn {
    background: var(--terracotta);
    border: none;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    border-radius: 0;
    width: calc(100% + 4rem);
    margin: auto -2rem -2rem -2rem;
    transition: all 0.3s ease;
}

.quick-link-card .btn:hover {
    background: var(--terracotta-dark);
}

/* Our Classes Section */
.our-classes {
    padding: 5rem 0;
    background-color: white;
}

.class-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid var(--sand);
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--terracotta);
}

.class-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.class-card .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.class-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin-top: auto;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Individual class background images */
.class-card.throwing .card-body {
    background-image: url('../images/throwing.jpg');
}

.class-card.handforming .card-body {
    background-image: url('../images/handforming.jpg');
}

.class-card.duo .card-body {
    background-image: url('../images/duo.png');
}

.class-card.ceramics-workshop .card-body {
    background-image: url('../images/ceramics-workshop.jpg');
}

.class-card.clay-to-matcha .card-body {
    background-image: url('../images/clay-to-matcha.jpg');
}

.class-card.bisque-paint .card-body {
    background-image: url('../images/bisque-paint.jpg');
}

.class-card .card-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.class-details {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.class-price {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: var(--terracotta);
    color: white;
}

.class-card .card-text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* TUI-Style Button for Class Cards */
.class-card .btn {
    background: var(--terracotta);
    border: none;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    border-radius: 0;
    width: calc(100% + 4rem);
    margin: auto -2rem -2rem -2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.class-card .btn:hover {
    background: var(--terracotta-dark);
    color: white !important;
}

/* Featured Video Section */
.featured-video {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--sand) 0%, #f0f0f0 100%);
}

.video-container {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-container {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Static image hover effect (not for carousel) */
.image-container:not(.carousel):hover img {
    transform: scale(1.02);
}

/* Image Carousel Styling */
.image-container .carousel-inner img {
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.image-container .carousel-indicators {
    bottom: 15px;
}

.image-container .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
}

.image-container .carousel-indicators button.active {
    background-color: var(--terracotta);
}

.image-container .carousel-control-prev,
.image-container .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.image-container .carousel-control-prev {
    left: 15px;
}

.image-container .carousel-control-next {
    right: 15px;
}

.image-container .carousel-control-prev:hover,
.image-container .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.image-container .carousel-control-prev-icon,
.image-container .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--sea-blue);
    color: white;
}

/* Desktop Testimonials Grid */
.testimonials-desktop-wrapper {
    position: relative;
}

.testimonials-desktop {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.testimonials-desktop.active {
    display: flex;
    opacity: 1;
}

.testimonials-desktop .testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonials-desktop .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.15);
}

/* Desktop Navigation Arrows */
.testimonial-desktop-prev,
.testimonial-desktop-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-desktop-prev {
    left: -30px;
}

.testimonial-desktop-next {
    right: -30px;
}

.testimonial-desktop-prev:hover,
.testimonial-desktop-next:hover {
    background-color: var(--terracotta);
    transform: translateY(-50%) scale(1.1);
}

/* Quote Styling */
.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--sand);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: serif;
}

/* Author Information */
.testimonial-author {
    margin-top: auto;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--sand);
    margin-bottom: 0.25rem;
}

.author-location {
    font-size: 0.9rem;
    opacity: 0.8;
    color: white;
}

/* Mobile Testimonials Carousel */
.testimonials-mobile {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    overflow: hidden;
    border-radius: 20px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 600%; /* 6 slides */
}

.testimonial-slide {
    flex: 0 0 16.666%; /* 1/6 of total width */
    padding: 0 1rem;
}

.testimonials-mobile .testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    height: auto;
    display: flex;
    flex-direction: column;
}

.testimonials-mobile .testimonial-quote {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonials-mobile .testimonial-quote::before {
    font-size: 2.5rem;
    top: -0.75rem;
}

/* Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background-color: var(--sand);
    transform: scale(1.2);
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.testimonial-prev {
    left: -25px;
}

.testimonial-next {
    right: -25px;
}

.testimonial-nav:hover {
    background-color: var(--terracotta);
    transform: translateY(-50%) scale(1.1);
}

/* Hide navigation on very small screens */
@media (max-width: 576px) {
    .testimonial-nav {
        display: none;
    }
}




/* Footer */
footer {
    background-color: #222 !important;
    margin-top: 0 !important;
}

footer .social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--terracotta) !important;
}

/* Social Icons Styling */
.social-icons a {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--terracotta) !important;
}

.social-icons i {
    text-decoration: none !important;
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--terracotta) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: var(--terracotta-dark) !important;
    box-shadow: 0 6px 20px rgba(193, 68, 46, 0.3);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(193, 68, 46, 0.3);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 20px;
    height: 20px;
}

/* Responsive Design - Mobile and Tablet */
@media (max-width: 991.98px) {
    .hero-content {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .page-header {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-header-title {
        font-size: 2.2rem;
    }
    
    .page-header-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        display: inline-block;
        margin: 0.25rem 0.5rem 0.25rem 0;
    }
    
    .quick-links {
        padding: 3rem 0;
    }
    
    .our-classes {
        padding: 3rem 0;
    }
    
    .class-card .card-body {
        min-height: 300px;
    }
    
    .class-details {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .class-card .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .featured-video,
    .testimonials {
        padding: 3rem 0;
    }
    
    /* Mobile navigation pill */
    .nav-pill-container {
        background-color: white;
        border: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    .nav-pill-container .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-pill-container .nav-link {
        border-radius: 25px;
        padding: 0.75rem 1.5rem;
        text-align: left;
        width: auto;
        display: inline-block;
    }
    
    .nav-pill-container .nav-link.active {
        background-color: var(--terracotta);
        color: white !important;
        border-radius: 25px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-pill-container .nav-link.active:hover {
        background-color: var(--terracotta-dark);
        color: white !important;
        transform: none;
    }
    
    /* Mobile TUI button adjustments */
    .quick-link-card .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.clay-texture {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
}