/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --dark-pink: #CC0000;
    --light-pink: #ffebeb;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    line-height: 1.6;
    color: #333;
    background: url('https://images.unsplash.com/photo-1519657337289-077653f724ed?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    padding-top: 128px;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Full-page overlay for better readability with a slight pink tint */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(255, 255, 255, 0.65),
        rgba(255, 253, 254, 0.55)
    );
    z-index: -1;
}

body.menu-open {
    overflow: hidden;
}

/* Header Styles */
header {
    background: #CC0000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: none;
    padding: 0 1rem;
    color: #ffffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    gap: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

nav ul li {
    position: relative;
}

nav a {
    text-decoration: none;
}

.menu-item {
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    padding: 6px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    min-width: 72px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s ease;
}

.menu-item:hover::after {
    left: 100%;
}

.menu-item .shadi-text {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 2px;
    display: block;
    letter-spacing: 0.5px;
}

.page-name {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.35rem 0;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 110px;
    width: auto;
    display: block;
}

.logo:hover {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: calc(100svh - 128px);
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1523438885200-e635ba2c371e?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 3rem 1rem;
    margin: 0 auto 2rem auto;
    border-radius: 0;
    position: relative;
    width: 100%;
}

.hero h1 {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.25;
    max-width: 18em;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    white-space: normal;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 40em;
    padding: 0 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.search-container {
    margin-top: 1rem;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.search-container input {
    flex: 1 1 220px;
    min-width: 0;
    width: auto;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.search-container button {
    flex: 0 1 auto;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #e60000 0%, #CC0000 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.search-container button:hover {
    background-color: #b01149;
}

.search-container button::after,
.category-item::after,
.enquiry-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
}

.search-container button:hover::after,
.category-item:hover::after,
.enquiry-button:hover::after {
    transform: scale(1);
}

/* Sections */
section {
    margin: 2rem auto;
    padding: 3rem 5%;
    max-width: 1200px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Vendors Section */
.vendors-section {
    background: transparent;
}

.vendors-grid,
.venues-grid,
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.vendor-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    animation: scaleIn 0.5s ease-out backwards;
    transition: all 0.3s ease;
}

.venues-section, .packages-section {
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.popular-venues,
.shaadi-tools {
    padding: 4rem 2rem;
    text-align: center;
    background: none;
}

.shaadi-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #CC0000;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    padding: 0 0.5rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #CC0000, #ff6b6b);
    transition: width 0.3s ease;
}

section h2:hover::after {
    width: 100px;
}

.venue-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.venue-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card-content {
    padding: 1.5rem;
}

.package-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

.price {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #CC0000;
    margin: 1rem 0;
}

.package-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.package-btn {
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.package-btn:hover {
    background-color: #b01149;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    text-align: center;
    background: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

#contactForm input,
#contactForm textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

#contactForm textarea {
    height: 150px;
    resize: vertical;
}

#contactForm button {
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#contactForm button:hover {
    background-color: #b01149;
}

.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #CC0000;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
    min-height: 60px;
}

.send-message-btn {
    width: 100%;
    padding: 12px;
    background: #CC0000;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-message-btn:hover {
    background: #b01147;
}

/* Tools Section */
.tools-section {
    padding: 4rem 2rem;
    text-align: center;
    background: none;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(204, 0, 0, 0.1);
    animation: scaleIn 0.5s ease-out backwards;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.15);
}

.tool-card i {
    font-size: 2.5rem;
    color: #CC0000;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: #CC0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tool-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-btn {
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.tool-btn:hover {
    background-color: #b01048;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.2);
}

/* Collection Section */
.collection-section {
    padding: 4rem 2rem;
    text-align: center;
    background: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

.collection-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.collection-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(204, 0, 0, 0.1);
    animation: scaleIn 0.5s ease-out backwards;
    transition: all 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.15);
}

.collection-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-card h3 {
    color: #CC0000;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.collection-card p {
    color: #666;
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 4rem 2rem;
    text-align: center;
    background: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

.blog-section h2,
.tools-section h2,
.collection-section h2 {
    text-align: center;
    color: #CC0000;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(204, 0, 0, 0.1);
    animation: scaleIn 0.5s ease-out backwards;
    transition: all 0.3s ease;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background-color: #ffebeb;
    color: #CC0000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.blog-card h3 {
    color: #CC0000;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.blog-date {
    color: #888;
    font-size: 0.9rem;
}

.read-more {
    color: #CC0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b01048;
}

/* Category Bar */
.category-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    padding: 0.5rem;
    width: 100%;
}

.category-dropdown,
.category-dropdown-toggle,
.category-dropdown-content {
    display: none;
}

.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.7rem;
    cursor: pointer;
    margin: 0;
    animation: scaleIn 0.5s ease-out backwards;
    transition: all 0.3s ease;
}

.category-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.15);
    animation: floatAnimation 2s ease-in-out infinite;
}

.category-circle i {
    font-size: 1.2rem;
    color: #CC0000;
    margin-bottom: 0.3rem;
}

.category-circle span {
    font-size: 0.65rem;
    text-align: center;
    color: #333;
    line-height: 1;
}

main {
    padding-top: 0;
    width: 100%;
}

/* Vendor Button */
.vendor-button {
    position: fixed;
    right: -45px;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    background: #CC0000;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.vendor-button:hover {
    right: -42px;
    background: #b01147;
}

.vendor-button span {
    font-size: 1rem;
}

.vendor-button i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.vendor-button:hover i {
    transform: rotate(90deg) translateX(3px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    animation: scaleIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 1.8rem;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    background-color: #22c35e;
}

/* Footer */
footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 260px;
    padding: 0 20px;
}

.footer-section:first-child {
    flex: 2 1 320px;
}

.footer-section:last-child {
    text-align: right;
}

.footer-section h3 {
    color: #CC0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #333;
    word-break: break-word;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(204, 0, 0, 0.1);
    color: #333;
}

/* Enquiry Chatbox */
.enquiry-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Arial', sans-serif;
}

.enquiry-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e60000 0%, #CC0000 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.enquiry-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff4d4d 0%, #CC0000 100%);
}

.enquiry-button i {
    font-size: 1.4rem;
}

.enquiry-container {
    position: absolute;
    bottom: calc(100% + 25px);
    right: 0;
    width: min(380px, calc(100vw - 24px));
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.enquiry-chat.active .enquiry-container {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enquiry-header {
    background: linear-gradient(135deg, #e60000 0%, #CC0000 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enquiry-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.close-enquiry {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-enquiry:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.enquiry-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 70vh;
    overflow-y: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    max-width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #CC0000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-enquiry {
    background: linear-gradient(135deg, #e60000 0%, #CC0000 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-enquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
    background: linear-gradient(135deg, #ff4d4d 0%, #CC0000 100%);
}

.submit-enquiry i {
    font-size: 1.1rem;
}

.enquiry-form::-webkit-scrollbar {
    width: 6px;
}

.enquiry-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.enquiry-form::-webkit-scrollbar-thumb {
    background: #CC0000;
    border-radius: 3px;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
    align-items: center;
    gap: 10px;
}

.success-message.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Self Details */
.self-details {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.self-details-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #CC0000;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.self-details-toggle:hover {
    transform: scale(1.05);
}

.self-details-content {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: min(280px, calc(100vw - 32px));
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    padding: 15px;
    display: none;
}

.self-details.active .self-details-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.self-details-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.self-details-header i {
    font-size: 24px;
    color: #CC0000;
}

.self-details-header span {
    font-size: 18px;
    font-weight: 500;
}

.self-details-info {
    padding: 15px 0;
}

.user-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.user-email {
    color: #666;
    font-size: 14px;
}

.self-details-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.self-details-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.sign-in-btn {
    background: #CC0000;
    color: white;
}

.register-btn {
    background: #ffebeb;
    color: #CC0000;
}

.sign-in-btn:hover {
    background: #b01147;
}

.register-btn:hover {
    background: #fbd0e0;
}

a:hover,
button:hover,
input[type="submit"]:hover,
.clickable:hover {
    cursor: pointer !important;
}

.vendor-card,
.venue-card,
.tool-card,
.collection-card,
.blog-card {
    animation: scaleIn 0.5s ease-out backwards;
    transition: all 0.3s ease;
}

.vendor-card:hover,
.venue-card:hover,
.tool-card:hover,
.collection-card:hover,
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.15);
}

.vendor-card:hover .card-image,
.venue-card:hover .card-image,
.blog-card:hover .card-image {
    transform: scale(1.1);
}

.social-icons {
    margin-top: 15px;
}

.social-icon.instagram {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icon.instagram:hover {
    transform: scale(1.1);
}

.instagram-logo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Tablets and smaller laptops — hamburger nav */
@media screen and (max-width: 1100px) {
    header {
        min-height: 108px;
        padding: 0 0.75rem;
    }

    nav {
        min-height: 108px;
        padding: 0.35rem 0;
    }

    .logo img {
        height: 96px;
    }

    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .burger-menu.active .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .burger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 108px;
        left: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        background: #CC0000;
        width: min(360px, 100%);
        height: calc(100svh - 108px);
        padding: 1rem;
        gap: 0.5rem;
        margin: 0;
        transition: right 0.3s ease-in-out;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links.active li {
        animation: fadeInRight 0.45s ease-out backwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(7) { animation-delay: 0.35s; }
    .nav-links.active li:nth-child(8) { animation-delay: 0.4s; }

    .menu-item {
        width: 100%;
        min-width: 0;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .menu-item .shadi-text {
        font-size: 0.75rem;
        margin: 0;
    }

    .menu-item .page-name {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 100px;
        background-attachment: scroll;
    }

    header {
        min-height: 96px;
    }

    nav {
        min-height: 96px;
    }

    .logo img {
        height: 88px;
    }

    .nav-links {
        top: 96px;
        width: 100%;
        height: calc(100svh - 96px);
    }

    .hero {
        min-height: calc(100svh - 100px);
        padding: 2rem 1rem;
    }

    .search-container {
        flex-direction: column;
    }

    .search-container input,
    .search-container button {
        width: 100%;
        border-radius: 8px;
    }

    section {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }

    .tools-section,
    .collection-section,
    .blog-section,
    .contact-section {
        padding: 2rem 1rem;
    }

    .category-circle {
        width: 64px;
        height: 64px;
    }

    .vendors-grid,
    .venues-grid,
    .packages-grid,
    .tools-grid,
    .collection-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .vendor-button {
        transform: none;
        right: auto;
        left: 12px;
        top: auto;
        bottom: 88px;
        border-radius: 25px;
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .vendor-button:hover {
        right: auto;
        left: 12px;
    }

    .vendor-button i {
        transform: none;
    }

    .vendor-button:hover i {
        transform: translateX(3px);
    }

    .whatsapp-btn {
        width: 46px;
        height: 46px;
        right: 14px;
        bottom: 82px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer-section,
    .footer-section:first-child,
    .footer-section:last-child {
        padding: 0;
        text-align: center;
    }

    .self-details-content {
        right: 0;
        left: auto;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        height: 80px;
    }

    .category-circle {
        width: 58px;
        height: 58px;
        padding: 0.45rem;
    }

    .category-circle i {
        font-size: 1rem;
    }

    .category-circle span {
        font-size: 0.55rem;
    }

    .collection-card img,
    .card-image,
    .blog-card img {
        height: 180px;
    }

    .package-card,
    .tool-card {
        padding: 1.25rem;
    }

    .vendor-button span {
        font-size: 0.75rem;
    }
}

@media (hover: none) {
    .vendor-card:hover,
    .venue-card:hover,
    .tool-card:hover,
    .collection-card:hover,
    .blog-card:hover,
    .category-circle:hover {
        transform: none;
        animation: none;
    }
}
