/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}

.top-bar .social-icons a {
    margin-right: 10px;
    color: #fff;
    transition: color 0.3s;
}

.top-bar .social-icons a:hover {
    color: #ff9800;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center;
    background-color: #000000;
    padding: 15px 20px;
    border-bottom: 2px solid #0e0e0e;
    position: relative;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 80px;
    width: 90px;
    
    margin-right: 10px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    position: relative;
    margin: 0 auto; /* Center the nav-links */
}

nav .nav-links li {
    position: relative;
}

nav .nav-links a {
    text-decoration: none;
    color: #f8f1f1;
    font-size: 18px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #ff9800;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #ff9800;
    transition: width 0.3s;
}

nav .nav-links a:hover::after {
    width: 100%;
}

nav .cta a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #f0eee9;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

nav .cta a:hover {
    background-color: #f3f1ef;
}
/* Hamburger Menu */
nav .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    left: 20px;
}

nav .hamburger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

/* Background Overlay */
nav .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 998;
}

nav .overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive Navigation */
@media (max-width: 1024px) {
    nav {
        flex-wrap: wrap;
    }

   
    nav .nav-links {
        position: absolute;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background-color: #f7cc0c;
        flex-direction: column;
        padding: 20px; /* Padding inside the capsule */
        gap: 20px;
        border-radius: 20px; /* Capsule shape */
        transition: left 0.5s ease-in-out;
        z-index: 999;
    }

    nav .nav-links.active {
        left: 0;
    }

    nav .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    nav .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    nav .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    nav .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    nav .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    nav .hamburger {
        display: flex;
    }

    nav .cta {
        display: none;
    }

    /* Hamburger Animation */
    nav.active .hamburger div:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #ff9800;
    }

    nav.active .hamburger div:nth-child(2) {
        opacity: 0;
    }

    nav.active .hamburger div:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #ff9800;
    }
}
/* contact icon*/

.fixed-contact {
    position: fixed;
    left: 20px;  /* Distance from the left */
    bottom: 50px;  /* Distance from the bottom */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000; /* Ensures it stays on top */
}

.fixed-contact a img {
    width: 50px;  /* Adjust size */
    height: 50px;
    border-radius: 50%;  /* Make it round */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.fixed-contact a img:hover {
    transform: scale(1.1);
}

/* General Styles */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #121212, #1e1e1e);
    padding: 20px;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    background: #222;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.contact-wrapper:hover {
    transform: scale(1.02);
}

/* Contact Right Section Styles */
.contact-right {
    position: relative;
    background: url('images/contact.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    min-height: 300px;
}

.contact-right-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.contact-right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px;
}

.contact-right-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #FFD700;
}

.contact-right-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #C0C0C0;
}

/* Contact Form Styles */
.contact-left {
    padding: 50px;
    background: #111;
}

.contact-left-title h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-left-title hr {
    width: 80px;
    height: 5px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border: none;
    margin-bottom: 30px;
    border-radius: 5px;
}

.contact-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 25px;
    border: 2px solid #FFD700;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    background: #222;
    color: #FFD700;
}

.contact-input:focus {
    border-color: #B8860B;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    background: #333;
}

textarea.contact-input {
    resize: vertical;
    min-height: 160px;
}

button[type="submit"] {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: black;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #C0A000, #8B7500);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Error Message Styles */
.error-message {
    color: #FF4500;
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 12px;
}

.contact-input.error {
    border-color: #FF4500;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.4);
    background: #330000;
}

/* Responsive Design */
@media (min-width: 768px) {
    .contact-wrapper {
        flex-direction: row;
    }

    .contact-right {
        flex: 1;
        min-height: auto;
    }

    .contact-left {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .contact-left {
        padding: 25px;
    }

    .contact-left-title h2 {
        font-size: 2rem;
    }

    .contact-right-content h2 {
        font-size: 2.2rem;
    }

    .contact-right-content p {
        font-size: 1.1rem;
    }
}


/* Dark Contact Section */
.dark-contact-section {
    background-color: #121212;
    color: #e0e0e0;
    padding: 4rem 1rem;
    font-family: 'Poppins', sans-serif;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #B8860B);
    margin: 0 auto;
    border-radius: 3px;
}

/* Contact Cards */
.contact-card {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 3px solid #FFD700;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.contact-icon {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #121212;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
}

.contact-details p {
    margin: 0.3rem 0;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.contact-details a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #FFD700;
}

/* Contact Form */
.dark-contact-form {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #2d2d2d;
    border: 1px solid #333;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #777;
    pointer-events: none;
    transition: all 0.3s;
    background: #2d2d2d;
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: #252525;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #FFD700;
    background: #1e1e1e;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #B8860B);
    transition: width 0.3s;
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #121212;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    width: 100%;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #E6C200, #A07800);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Map */
.map-column {
    display: flex;
    flex-direction: column;
}

.map-container {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    height: 400px;
    flex-grow: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .map-column {
        grid-column: span 2;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr 1.5fr 1fr;
    }
    
    .map-column {
        grid-column: auto;
        height: auto;
    }
    
    .section-header {
        text-align: left;
    }
    
    .gold-divider {
        margin: 0;
    }
}

footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px 10px;
    font-family: sans-serif;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .footer-section {
    flex: 1 1 200px;
  }
  
  .footer-section h3 {
    color: #f4c10f;
    margin-bottom: 10px;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section a {
    text-decoration: none;
    color: #ccc;
  }
  
  .footer-section a:hover {
    color: #f4c10f;
  }
  
  .footer-section input,
  .footer-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
  }
  
  .footer-section button {
    width: 100%;
    padding: 10px;
    background-color: #f4c10f;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .footer-bottom {
    text-align: center;
    color: #aaa;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 10px;
    font-size: 14px;
  }
  
  /* Mobile Layout Fix */
  @media (max-width: 768px) {
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      text-align: left;
    }
  
    .quick-links     { grid-column: 1; grid-row: 1; }
    .address         { grid-column: 2; grid-row: 1; }
    .contact-info    { grid-column: 1; grid-row: 2; }
    .follow-us       { grid-column: 2; grid-row: 2; }
    .contact-us      { grid-column: 1 / span 2; grid-row: 3; text-align: center; }
  
    .footer-section form {
      max-width: 90%;
      margin: 0 auto;
    }
  
    .footer-bottom {
      margin-top: 15px;
    }
  }
  
  .contact-map {
    width: 100%;
    margin-top: 20px;
  }
  .contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
  }
  

/* Search Bar Styles */
.search-container {
    position: absolute;
    top: 60px; /* Positioned below the hamburger menu */
    right: 15px; /* Aligned with hamburger menu */
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#searchInput {
    padding: 12px 16px;
    width: 0;
    border: none;
    border-radius: 50px; /* Rounded corners for modern look */
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother animation */
    opacity: 0;
    visibility: hidden;
    outline: none; /* Remove outline on focus */
}

#searchInput.active {
    width: 240px;
    opacity: 1;
    visibility: visible;
}

#searchInput:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on focus */
}

.suggestions {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: none;
    border-radius: 12px;
    width: 240px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.suggestions div {
    padding: 12px 16px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.suggestions div:last-child {
    border-bottom: none;
}

.suggestions div:hover {
    background: #f7f7f7;
}

/* Search Icon */
.search-icon {
    cursor: pointer;
    font-size: 22px;
    color: white;
    margin-left: 12px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Responsive Styles - comprehensive for all devices */
@media (max-width: 1200px) {
    #searchInput.active {
        width: 220px;
    }
}

@media (max-width: 992px) {
    #searchInput.active {
        width: 200px;
    }
    
    .suggestions {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .search-container {
        top: 40px; /* Maintain position below hamburger menu */
        right: 2px; /* Keep aligned with hamburger menu */
    }
    
    #searchInput.active {
        width: 180px;
    }
    
    .suggestions {
        width: 180px;
    }
    
    .search-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .search-container {
        top: 40px; /* Consistent positioning */
        right: 5px;
    }
    
    #searchInput.active {
        width: 150px;
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .suggestions {
        width: 150px;
        top: 45px;
    }
    
    .suggestions div {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .search-icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    #searchInput.active {
        width: 120px;
    }
    
    .suggestions {
        width: 120px;
    }
}

/* For extremely small devices */
@media (max-width: 320px) {
    #searchInput.active {
        width: 100px;
    }
    
    .suggestions {
        width: 100px;
    }
    
    .search-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}