/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    color: #ffffff;
    position: relative;
}

.second-con {
    background: linear-gradient(to right, #a77f5a, #ffffff, #a77f5a);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #301b07;
    width: 90%;
    padding: 10px 20px;
    backdrop-filter: blur(100px);
    border: 1.5px solid #FFB52A;
    border-radius: 16px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(255, 181, 42, 0.2);
    margin-top: 10px;
    height: 80px;
}

.navbar-toggler {
    background-color: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='gold' stroke-width='3' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#navbarNav {
    display: none;
    flex-direction: column;
    background-color: #301b07;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
}

#navbarNav.show {
    display: flex;
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    .nav-links a {
        margin: 8px 0;
    }

    .logo-section {
        margin-bottom: 10px;
    }

    .navbar {
        padding: 15px;
    }
}

.navbar-brand {
    font-size: 1.3rem;
    color: #FFB52A !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar .logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFB52A;
    padding: 2px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #FFD700 !important;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

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

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 40px 80px 40px;
  overflow: hidden;
  background: transparent;
  min-height: 100vh;/* fallback background */
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;       /* Adjust size as needed */
  height: 900px;      /* Adjust size as needed */
  transform: translate(-50%, -50%);
  background: url('https://nahdimandi.com/static/img/circle.png') no-repeat center center;
  background-size: cover;
  border-radius: 50%;
  animation: rotateBG 60s linear infinite;
  z-index: 0;       /* Optional visibility */
}

.hero > * {
  position: relative;
  z-index: 2;
}

@keyframes rotateBG {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 108%;
    max-width: 1200px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    max-width: 500px;
    margin-top: 60px;
}

.welcome-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.thought {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFB52A;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.thought span {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 181, 42, 0.6);
    -webkit-text-stroke: 1px #FFB52A;
    padding: 2px 6px;
    border-radius: 4px;
}

.description {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 460px;
    font-weight: bold;
}

.btn {
    padding: 12px 28px;
    background-color: #FFB52A;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ffffff;
    color: black;
    transform: scale(1.05);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}

.circle-image {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #FFB52A;
    box-shadow: 0 0 30px rgba(255, 181, 42, 0.5);
    animation: slowRotate 20s linear infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-image:hover {
    box-shadow: 0 0 45px rgba(255, 181, 42, 0.8);
    transform: scale(1.03);
}

@keyframes slowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

    .hero-left,
    .hero-right {
        max-width: 100%;
    }

    .thought {
        font-size: 2rem;
    }

    .nav-links a {
        margin-left: 15px;
        font-size: 0.9rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .circle-image {
        width: 240px;
        height: 240px;
    }

    .footer-box form {
        flex-direction: column;
    }

    .footer-box input[type="email"],
    .footer-box button {
        border-radius: 6px;
        margin-bottom: 10px;
    }
}


/* Highlight */
.highlight {
    color: #FFB52A;
    font-weight: bold;
    border-bottom: 1px dashed #FFB52A;
}

/* About, Services, Menu Preview */
.about-preview,
.services-preview-home,
.menu-preview-home {
    background: linear-gradient(to right, #a77f5a, #ffffff, #a77f5a);
    padding: 60px 30px;
    text-align: center;
}

.about-preview-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-preview-title,
.section-title {
    font-size: 2.5rem;
    color: #a0602b;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-preview-text,
.section-description,
.menu-item p,
.service-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 26px;
    background-color: #FFB52A;
    color: #1b1b1b;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.read-more-btn:hover {
    background-color: #e6a400;
    color: #fff;
    transform: scale(1.05);
}

.services-boxes,
.menu-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.service-item,
.menu-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #FFB52A;
    border-radius: 16px;
    padding: 30px 20px;
    width: 260px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 10px rgba(255, 181, 42, 0.15);
}

.service-item:hover,
.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 181, 42, 0.3);
    background-color: rgba(255, 255, 255, 0.07);
}

.service-item h3,
.menu-item h3 {
    font-size: 1.3rem;
    color: #a0602b;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(255, 181, 42, 0.5);
}

.footer {
    background-color: #000;
    color: #fff;
    padding: 60px 20px 30px;
    text-align: left;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-box h3,
.footer-box h4 {
    color: #dc2626;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-box p,
.footer-box ul li a {
    color: #ccc;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 6px;
}

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

.footer-box form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: nowrap;
}

.footer-box input[type="email"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    min-width: 0;
}

.footer-box button {
    background-color: #dc2626;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-box button:hover {
    background-color: #b91c1c;
}

.footer-bottom {
    text-align: center;
    color: #ccc;
    font-size: 0.875rem;
    margin-top: 40px;
}

/* Shop Image Style */
.small-square {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border: 4px solid #FFB52A;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-square {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.square-container:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}