/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../sharipishly_logo.jpeg'); /* Replace with your image path */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Keeps the background fixed while scrolling */
    height: 100%;
    color: #333;
}

/* Cleaner Div */
.cleaner {
  clear: both;
  height: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
  width:100%;
}

/* Submenu Styling */

header {
    background: #ccc;
    color:#5c3a29;
    padding: 10px 20px;
}

header .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header .menu > li {
    position: relative;
    margin-right: 20px;
}

header .menu > li > a {
    color:#5c3a29;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

header .menu > li:hover > .sub-menu {
    display: block;
}

header .sub-menu {
    display: none;
    position: absolute;
    background: #444;
    padding: 10px;
    list-style: none;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header .sub-menu li {
    margin: 0;
}

header .sub-menu li a {
    color:#fff;
    text-decoration: none;
    display: block;
}


/* Navbar Styling */
.navbar {
    background-color: #d2b48c;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color:#5c3a29;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    font-size: 24px;
    text-decoration: none;
    color:#5c3a29;
}


.navbar-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color:#5c3a29;
    cursor: pointer;
}

.navbar-menu {
    display: flex;
    list-style-type: none;
}

.navbar-item {
    margin: 0 15px;
}

.navbar-link {
    text-decoration: none;
    color:#5c3a29;
    font-size: 18px;
}

.navbar-link:hover {
    text-decoration: underline;
}

/* Main Content Styling */
.main-content {
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    min-height: calc(100vh - 40px); /* Adjust for padding */
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
}

.about-section, .services-section {
    margin: 50px 0;
}

.services-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    margin: 10px;
}

.service h3 {
    font-size: 24px;
}

.service p {
    font-size: 16px;
}

/* Form Styles */
.submit-button {
    border: 1px dashed;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    background-color: #ccc;
    border-radius: 6px;
}

/* Note Menu */
.note-button {
    border: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    background-color: #ccc;
    border-radius: 6px;
    color: #111;
    text-decoration: none;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #ccc;
    padding: 10px;
    margin: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    text-decoration: none;
    color: #007bff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
}

.pagination a.active {
    background: #007bff;
    color:#5c3a29;
    border-color: #007bff;
}

.pagination a:hover {
    background: #0056b3;
    color:#5c3a29;
}

/* Widgets */
.widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.widget {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}


/* Footer Styling */
.footer {
    background-color: #333;
    color:#5c3a29;
    padding: 20px;
    text-align: center;
}

.footer a {
    text-decoration: none;
    color:#5c3a29;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-menu.active {
        display: flex;
        z-index: 1000;
        position: absolute;
        top: 28px;
        left: 0px;
        background-color: #ffffff;    }

    .navbar-item {
        margin: 10px 0;
    }

    .navbar-toggle {
        display: block;
    }

    .services-section {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
    }
}


/* Table Container (optional for responsiveness) */
.table-container {
    overflow-x: auto; /* Enable horizontal scrolling for small screens */
    margin: 20px 0;
}

/* General Table Styling */
table {
    width: 100%; /* Full width */
    border-collapse: collapse; /* Remove double borders */
    margin: 20px 0; /* Spacing around the table */
    font-size: 16px; /* Readable text size */
    text-align: left; /* Align text to the left */
}

/* Table Header Styling */
th {
    background-color: #0073e6; /* Blue header background */
    color:#5c3a29; /* White text for contrast */
    padding: 12px; /* Padding inside cells */
    text-transform: uppercase; /* Uppercase text */
}

/* Table Row and Cell Styling */
td {
    padding: 12px; /* Padding inside cells */
    border: 1px solid #ddd; /* Light gray border */
    color: #333; /* Dark text color */
}

/* Alternate Row Background */
tr:nth-child(even) {
    background-color: #f9f9f9; /* Light gray for even rows */
}

/* Hover Effect for Rows */
tr:hover {
    background-color: #e9ecef; /* Slightly darker gray on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
    table {
        font-size: 14px; /* Smaller text on small screens */
    }

    th, td {
        padding: 8px; /* Reduced padding on small screens */
    }
}

.layout-item {
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: calc(45% - 20px); /* Two columns on larger screens */
    box-sizing: border-box;
    min-width: 250px;
}

.layout-image {
    border: 1px dashed #ccc;
    width: 100%;
    height: 200px;
    background-color: #fff;
    border-radius: 16px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url('../coffee_shop.jpeg'); /* Replace with your image path */
}

.layout-item h2 {
    color: #5c3a29;
    margin-bottom: 15px;
}

.layout-item form input,
.layout-item form button {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.layout-item form button {
    background-color: #d2b48c;
    color: #5c3a29;
    border: none;
    cursor: pointer;
}

.layout-item table {
    width: 100%;
    border-collapse: collapse;
}

.layout-item table th,
.layout-item table td {
    border: 1px solid #eee;
    padding: 8px;
    text-align: left;
}

/* Layout Introduction */
.layout-introduction { 
    padding: 20px; 
    margin-bottom: 20px; 
    background-color: #f9f9f9; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
} 
.layout-introduction h2 { font-size: 24px; margin-bottom: 20px; color: #333; } 
.layout-introduction h3 { font-size: 18px; margin-bottom: 10px; color: #444; } 
.layout-introduction p { font-size: 16px; line-height: 1.6; color: #555; margin-bottom: 16px; } 
.layout-introduction ul { list-style-type: disc; padding-left: 20px; margin-bottom: 16px; } 
.layout-introduction ul li { margin-bottom: 8px; } 
.layout-introduction ol { list-style-type: decimal; padding-left: 20px; margin-bottom: 16px; } 
.layout-introduction ol li { margin-bottom: 8px; }
.layout-introduction strong { font-weight: bold; color: #222; } 
.layout-introduction em { font-style: italic; color: #333; } 
/* layout Introduction */

/* Events */

.layout-item h2 {
    color: #5c3a29;
    margin-bottom: 15px;
}

.layout-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.layout-item p {
    line-height: 1.6;
}

.layout-item ul {
    list-style-type: none;
    padding: 0;
}

.layout-item ul li {
    margin-bottom: 5px;
}

.discount {
  background-color: #e0f7fa;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

.event {
  background-color: #fff3e0;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

/* Services */
.service-section {
    margin-top: 20px;
}

.service-section h3 {
    margin-bottom: 10px;
}

.service-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.service-section li {
    margin-bottom: 5px;
}

/* Alert Styling */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-secondary {
  color: #383d41;
  background-color: #e2e3e4;
  border-color: #d3d6da;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-info {
  color: #0c5460;
  background-color: #e0f7fa;
  border-color: #b6e2eb;
}

.alert-light {
  color: #818182;
  background-color: #fefefe;
  border-color: #fdfdfe;
}

.alert-dark {
  color: #1b1e21;
  background-color: #d6d8d9;
  border-color: #c6c8ca;
}


/* Optional: Add a close button */
.alert-dismissible {
  padding-right: 4rem;
  position: relative;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.alert-dismissible .close:hover {
  opacity: 0.75;
}
