/* Reset default margins and paddings for better control */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styling */
header {
    background-color: #000;
    text-align: center;
    padding: 20px 0;
  
}

header #logo {
    width: 60%;              /* Wider logo on desktop */
    max-width: 100%;         /* Prevent overflow */
    height: auto;            /* Default: maintain image aspect */
    transform: scaleY(0.9);  /* Make logo appear 20% less tall */
    display: block;
    margin: auto auto auto auto; /* Top, horizontal center, bottom */
}

/* Mobile styles */
@media (max-width: 768px) {
    header #logo {
        width: 100%;             /* More flexible on smaller screens */
        transform: scaleY(0.9); /* Keep same height adjustment */
    }
}
/* Navbar Styling */
nav {
    text-align: center;
    position: relative;
    top: 10px; /* Slight positive margin to lower links */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    line-height: 1.5;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content Section */
section {
    padding: 40px 10px;
    background-color: #fff;
}

section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 20px;
}

section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

section ul {
    list-style-type: square;
    padding-left: 20px;
}

section ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Flexbox layout for the intro section */
#intro .intro-content {
    display: flex;
    align-items: flex-start; /* Align the items to the top */
    justify-content: flex-start; /* Align to the left to bring the content closer */
    gap: 50px;
}

/* Welcome Section Styles */
#welcome-container {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 1000px;
  margin: 30px auto;
}

.welcome-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.frontsplash-img {
  flex: 1 1 300px;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.welcome-text {
  flex: 1 1 300px;
}

.class-schedule {
  margin-top: 10px;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .welcome-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .welcome-text {
    text-align: left;
    padding: 0 10px;
  }

  .frontsplash-img {
    max-width: 100%;
  }
}/* Section styling */
.container {
    width: 70%;
    margin: 0 auto;
}

#chito-ryu-history,
#why-chito-ryu {
    padding: 40px 10px;
    background-color: #fff;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 70%;
}

#chito-ryu-history h2,
#why-chito-ryu h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 20px;
}

#chito-ryu-history p,
#why-chito-ryu p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

#why-chito-ryu ul {
    list-style-type: square;
    padding-left: 20px;
}

#why-chito-ryu ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    #welcome-container,
    #chito-ryu-history,
    #why-chito-ryu {
        width: 90%;
    }
}
/* Styling for the text section */
.intro-text {
    max-width: 55%; /* Reduce the width of the text block to bring it closer */
    color: #333;
    margin-left: 100px;
}

/* Ensure the title is above the paragraphs */
.intro-text h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 20px; /* Add space below the title */
}

/* Optional: Add responsive styles for smaller screens */
@media (max-width: 768px) {
    #intro .intro-content {
        flex-direction: column; /* Stack the image and text on smaller screens */
        align-items: center;
        text-align: center; /* Center the text on smaller screens */
    }

    .frontsplash-img {
        max-width: 80%; /* Adjust image size on smaller screens */
        margin-bottom: 20px; /* Add space below the image */
    }

    .intro-text {
        max-width: 100%; /* Allow text to take up full width */
    }
}
/* Styling for the class schedule */
.class-schedule {
    background-color: #d9d9d9;
    border-radius: 20px;
    text-align: center;
    padding: 10px 20px;
    margin-top: 2px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #000;
    display: inline-block; /* Optional, keeps size tight to content */
}

.class-schedule * {
    margin: 0;        /* Remove extra vertical margin */
    line-height: 1.2; /* Reduce line spacing */
}

/* Container for sections */
.container {
    width: 60%;
    margin: 0 auto;
}

/* Main Content Section */
.main-content {
    display: block;
    gap: 40px;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Document Section Styling for documents.html */
.container {
    width: 80%;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.document-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    width: 60%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.document-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.document-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.document-item a {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
}

.document-item a:hover {
    background-color: #0056b3;
}

/* KATA VIDEOS SECTION*/
/* General container styling for Kata Video Section */
.kata-video-section {
    margin-top: 20px;
    padding: 40px 10px;
    background-color: #f4f4f4; /* Greyish background like contact page */
}

.kata-video-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Kata Video Container Styling */
.kata-video-container {
    display: flex;
    background: white;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    
}

.kata-video-container .video-item {
    width: 48%; /* 2 videos per row */
    margin-bottom: 20px;
}

/* Video Styling */
.kata-video-container iframe {
    width: 100%;
    height: 220px; /* Adjust height for better fitting */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
}

/* Main container styling */
.kata-video-section .kata-video-container {
    max-width: 1200px;
    margin: 0 auto; /* Centers the content */
    background: white; /* No white background */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
}/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}




/* ============================= */
/* Contact Page Styling Section  */
/* ============================= */

#contact-info {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

}

/* Section Title */
.contact-container h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.contact-container p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Contact Details and Map Layout */
.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

/* Contact Details (Left Side) */
.contact-details {
    flex: 1;
    text-align: left;
    max-width: 50%;
}

.contact-details h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #444;
}

.contact-details p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Map Section (Right Side) */
.map-container {
    flex: 1;
    text-align: center;
    max-width: 50%;
}

.map-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design (Mobile-Friendly) */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        text-align: center;
    }

    .contact-details, 
    .map-container {
        max-width: 100%;
    }
}
/* Styling for both icons */
.social-links {
    display: flex;
    justify-content: flex-start; /* Aligns items to the left */
    align-items: center;
    margin-top: 20px;
}

.facebook-icon, .store-icon {
    width: 40px; /* Adjust size for both icons */
    height: auto;
    margin-right: 10px; /* Add space between the icons */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.facebook-icon:hover, .store-icon:hover {
    transform: scale(1.1); /* Slightly enlarges on hover */
}


/* Additional Styles for Document Links */
a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}