/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0e6d2;
    background-color: #1a1a1a;
    padding-top: 70px; /* for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #f0e6d2;
}

a {
    color: #d4af37;
    text-decoration: none;
}

a:hover {
    color: #bfa233;
    text-decoration: underline;
}

/* Navbar */
.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #d4af37;
}

/* Hero Section */
#hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    position: relative;
}

#hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

#hero p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

/* Buttons */
.btn-primary {
    background-color: #d4af37;
    border-color: #d4af37;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: #1a1a1a;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #bfa233;
    border-color: #a68f2a;
    color: #1a1a1a;
}

/* Sections */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

section h2 {
    font-size: 2.75rem;
    margin-bottom: 40px;
    color: #f0e6d2;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #2a2a2a;
    color: #f0e6d2;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Instructors */
.card-img-top.rounded-circle {
    border: 5px solid #d4af37;
}

/* Gallery */
#gallery img {
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
}

#gallery img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Gallery image before/after */
#gallery img::before,
#gallery img::after {
    content: "";
    position: absolute;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

#gallery img::before {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #d4af37;
    transform: scale(0.9);
}

#gallery img::after {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid #1a1a1a;
    transform: scale(0.8);
}

#gallery img:hover::before,
#gallery img:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Class image */
.class-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    z-index: 0;
}

.class-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.5);
    z-index: 10;
}

.class-image::before,
.class-image::after {
    content: "";
    position: absolute;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.class-image::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid #d4af37;
    transform: scale(0.95);
}

.class-image::after {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid #1a1a1a;
    transform: scale(0.9);
}

.class-image:hover::before,
.class-image:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Class price */
.class-price {
    position: relative;
    display: inline-block;
    font-weight: 700;
    font-size: 1.25rem;
    color: #d4af37;
    padding: 5px 15px;
    border-radius: 25px;
    border: 2px solid #d4af37;
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    z-index: 0;
}

.class-price::before,
.class-price::after {
    content: "";
    position: absolute;
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.class-price::before {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #d4af37;
    transform: scale(0.9);
}

.class-price::after {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #1a1a1a;
    transform: scale(0.8);
}

.class-price:hover {
    color: #1a1a1a;
    background-color: #d4af37;
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.6);
}

.class-price:hover::before,
.class-price:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Instructor image */
.instructor-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 0;
}

.instructor-image:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.7);
    z-index: 10;
}

.instructor-image::before,
.instructor-image::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.instructor-image::before {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px solid #d4af37;
    transform: scale(0.95);
}

.instructor-image::after {
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border: 3px solid #1a1a1a;
    transform: scale(0.9);
}

.instructor-image:hover::before,
.instructor-image:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Map */
#map {
    border: 2px solid #d4af37;
    border-radius: 10px;
}

/* Responsive iframe container for map */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* Contact Form */
form {
    background: linear-gradient(135deg, #d4af37 0%, #bfa233 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(191, 162, 51, 0.4);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

form::before,
form::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(60px);
    z-index: 0;
}

form::before {
    width: 200px;
    height: 200px;
    background: #bfa233;
    top: -50px;
    left: -50px;
}

form::after {
    width: 300px;
    height: 300px;
    background: #d4af37;
    bottom: -100px;
    right: -100px;
}

form label {
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

form .form-control {
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
}

form .form-control:focus {
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
    outline: none;
}

form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    background: #bfa233;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
    color: #1a1a1a;
}

form .btn-primary:hover {
    background: #d4af37;
    box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.7);
}

/* Footer */
footer {
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    color: #f0e6d2;
    background-color: #111;
}

/* Utility */
.text-center {
    text-align: center !important;
    color: cornflowerblue;
}

#about p {
    color: royalblue;
}
