/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo a {
    text-decoration: none;
    display: block;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.logo a:hover h1 {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
    display: block;
}

.nav-menu a:hover {
    color: #d4af37;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    cursor: pointer;
    display: block;
    padding: 5px 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 8px 0;
}

.dropdown-content a {
    color: #1a1a1a;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: #d4af37;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #d4af37;
    color: #1a1a1a;
    padding-left: 25px;
}

.dropdown-content a:hover i {
    color: #1a1a1a;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Extend hover area to prevent dropdown from closing */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

/* Admin Dropdown Styles */
.admin-dropdown .admin-menu-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.admin-dropdown .admin-menu-btn:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    color: #1a1a1a;
}

.admin-dropdown .admin-menu-btn i {
    margin: 0 3px;
}

.admin-dropdown-content {
    min-width: 260px;
    padding: 10px 0;
}

.admin-dropdown-content a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.admin-dropdown-content a i {
    width: 20px;
    text-align: center;
    color: #d4af37;
}

.admin-dropdown-content a:hover {
    background-color: #d4af37;
    color: #1a1a1a;
    padding-left: 25px;
}

.admin-dropdown-content a:hover i {
    color: #1a1a1a;
}

.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 8px 0;
}

/* Developer Panel Styles */
.developer-dropdown .developer-menu-btn {
    background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.developer-dropdown .developer-menu-btn:hover {
    background: linear-gradient(135deg, #34d058 0%, #28a745 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

.developer-dropdown .developer-menu-btn i {
    margin: 0 3px;
}

.developer-dropdown-content {
    min-width: 260px;
    padding: 10px 0;
}

.developer-dropdown-content a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.developer-dropdown-content a i {
    width: 20px;
    text-align: center;
    color: #28a745;
}

.developer-dropdown-content a:hover {
    background-color: #28a745;
    color: #ffffff;
    padding-left: 25px;
}

.developer-dropdown-content a:hover i {
    color: #ffffff;
}

.logout-link {
    color: #dc3545 !important;
    font-weight: 600;
}

.logout-link:hover {
    background-color: #fff5f5 !important;
}

.logout-link i {
    color: #dc3545 !important;
}

.admin-link {
    background-color: rgba(212, 175, 55, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header .submit-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px 16px;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.5);
        padding: 20px 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 15px;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none !important;
        box-shadow: none;
        background-color: rgba(0,0,0,0.4);
        margin: 0;
        border-radius: 0;
        width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-content {
        display: block !important;
        max-height: 500px;
    }
    
    .dropdown-content a {
        color: white !important;
        padding: 15px 30px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: flex !important;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .dropdown-content a i {
        color: #d4af37 !important;
        width: 20px;
        text-align: center;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .dropdown-content a:hover {
        background-color: rgba(212, 175, 55, 0.3) !important;
        padding-left: 35px !important;
    }
    
    .dropdown-content a:hover i {
        color: #ffffff !important;
    }
    
    .dropdown:not(.active):hover .dropdown-content {
        display: none !important;
    }
    
    .dropdown .dropbtn {
        position: relative;
    }
    
    /* Mobile dropdown toggle */
    .dropdown {
        width: 100%;
    }

    .dropdown::after {
        display: none;
    }
    
    .dropdown .dropbtn::after {
        content: ' ▼';
        font-size: 0.7em;
        margin-left: 5px;
    }
    
    .dropdown.active .dropbtn::after {
        content: ' ▲';
    }
    
    /* Admin dropdown mobile styles */
    .admin-dropdown .admin-menu-btn {
        background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
        color: #1a1a1a;
        padding: 15px 20px;
        border-radius: 8px;
        font-weight: 600;
        width: calc(100% - 40px);
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    .admin-dropdown-content {
        background-color: rgba(0,0,0,0.4);
        border-radius: 8px;
        margin: 10px 20px;
        width: calc(100% - 40px);
        display: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .admin-dropdown.active .admin-dropdown-content {
        display: block !important;
        max-height: 800px;
    }
    
    .admin-dropdown-content a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: white;
    }
    
    .admin-dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .admin-dropdown-content a:hover {
        background-color: rgba(212, 175, 55, 0.3) !important;
        padding-left: 25px;
    }
    
    .admin-dropdown-content a i {
        color: #d4af37;
    }
    
    /* Developer dropdown mobile styles */
    .developer-dropdown .developer-menu-btn {
        background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
        color: #ffffff;
        padding: 15px 20px;
        border-radius: 8px;
        font-weight: 600;
        width: calc(100% - 40px);
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    .developer-dropdown-content {
        background-color: rgba(0,0,0,0.4);
        border-radius: 8px;
        margin: 10px 20px;
        width: calc(100% - 40px);
        display: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .developer-dropdown.active .developer-dropdown-content {
        display: block !important;
        max-height: 800px;
    }
    
    .developer-dropdown-content a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: white;
    }
    
    .developer-dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .developer-dropdown-content a:hover {
        background-color: rgba(40, 167, 69, 0.3) !important;
        padding-left: 25px;
    }
    
    .developer-dropdown-content a i {
        color: #34d058;
    }
    
    .dropdown-divider {
        height: 1px;
        background-color: rgba(255,255,255,0.2);
        margin: 0;
    }
    
    .logout-link {
        color: #ff6b6b !important;
    }

    .admin-link {
        background-color: rgba(212, 175, 55, 0.3);
        margin: 5px 20px;
        display: inline-block;
        width: calc(100% - 40px);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: url('assets/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(26,26,26,0.4) 50%, rgba(0,0,0,0.25) 100%);
    backdrop-filter: brightness(1.1) contrast(1.05);
}

/* Hero Content Section */
.hero-content-section {
    background: #1a1a1a;
    padding: 80px 0;
    position: relative;
}

.hero-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 25px;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    line-height: 1.6;
}

.hero-text .tagline {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #d4af37;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #f4cf47);
    color: #1a1a1a;
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3), 0 0 30px rgba(212,175,55,0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #f4cf47, #d4af37);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212,175,55,0.5), 0 0 50px rgba(212,175,55,0.2);
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.about {
    background-color: #faf8f3;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-box h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Services */
.services {
    background: #ecf0f1;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .admin-status {
    margin-top: 1rem;
    font-size: 1rem;
}

.page-header .admin-status a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.page-header .login-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
}

.page-header .login-link:hover {
    background: rgba(212, 175, 55, 0.3);
}

/* Project Filter */
.project-filter {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.project-filter h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #ddd;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
    border-color: #d4af37;
}

.filter-btn.active {
    background: #d4af37;
    color: #1a1a1a;
    border-color: #d4af37;
}

/* Projects Page */
.projects-section {
    background: white;
}

.upload-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.upload-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.upload-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.submit-btn {
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #b8941f;
}

/* Messages */
.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Projects Gallery */
.projects-gallery {
    margin-top: 3rem;
}

.projects-gallery h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.project-type-heading {
    font-size: 2rem;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d4af37;
}

.project-type-badge {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.project-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    cursor: pointer;
    display: block !important;
    background: #f0f0f0;
    min-height: 250px;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.project-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.delete-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    font-weight: 600;
}

.delete-btn:hover {
    background-color: #c0392b;
}

.edit-btn {
    display: inline-block;
    background-color: #f39c12;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    font-weight: 600;
}

.edit-btn:hover {
    background-color: #e67e22;
}

.view-btn {
    display: inline-block;
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    margin-right: 10px;
    font-weight: 600;
}

.view-btn:hover {
    background-color: #b8941f;
}

.project-images-count {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 1rem;
    border: 2px dashed #ddd;
}

.project-image .no-image {
    height: 100%;
    min-height: 250px;
}

/* Project Detail Page */
.project-detail-section {
    background: white;
    padding: 60px 0;
}

.back-link {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.back-btn {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: #d4af37;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 14px;
}

.back-btn:hover {
    background: #b8941f;
    color: #1a1a1a;
}

.project-meta {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-text {
    color: #ecf0f1;
    font-size: 0.95rem;
}

.project-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.image-item a {
    display: block;
}

.image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.no-images {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding: 3rem;
}

.no-projects {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding: 3rem;
}

/* Login Page */
.login-section {
    background: white;
    padding: 60px 0;
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.login-container h1 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.login-form {
    width: 100%;
}

.login-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 5px;
    color: #856404;
    font-size: 0.9rem;
}

/* Admin Settings Page */
.admin-settings-section {
    background: white;
    padding: 60px 0;
}

.settings-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
}

.settings-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Project Filters */
.project-filters {
    margin: 20px 0;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
}

.filter-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label i {
    font-size: 0.9rem;
}

.filter-group select {
    padding: 12px 15px;
    background: #2d2d2d;
    color: #e0e0e0;
    border: 1px solid #3d3d3d;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-group select:hover {
    border-color: #d4af37;
    background: #353535;
}

.filter-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.filter-group select option {
    background: #2d2d2d;
    color: #e0e0e0;
}

.cancel-btn {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cancel-btn:hover {
    background-color: #5a6268;
}

/* Contact Page */
.contact-section {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-form {
    max-width: 100%;
}

.info-box {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #3d3d3d;
    position: relative;
}

.info-box.primary-location {
    border: 2px solid #d4af37;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.primary-badge {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-box h3 {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-box p {
    color: #e0e0e0;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #d4af37;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3a3a3a;
    color: #999;
}

/* Admin Management Styles */
.admin-management-section {
    padding: 50px 0;
    background: #1a1a1a;
}

.admin-form-container,
.admin-list-container {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #3d3d3d;
}

.admin-form-container h2,
.admin-list-container h2 {
    color: #d4af37;
    margin-bottom: 25px;
    font-size: 24px;
}

.admin-form-container label,
.admin-form-container .form-group label {
    color: #ffffff;
}

.admin-form-container input,
.admin-form-container input[type="text"],
.admin-form-container input[type="email"],
.admin-form-container input[type="password"] {
    color: #ffffff;
    background: #1a1a1a;
}

.admin-cards {
    display: grid;
    gap: 20px;
}

.admin-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-info h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.admin-info p {
    color: #e0e0e0;
    margin: 5px 0;
    font-size: 14px;
}

.current-user-badge {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-edit,
.btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-edit {
    background: #d4af37;
    color: #1a1a1a;
    font-weight: 600;
}

.btn-edit:hover {
    background: #b8941f;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #2d2d2d;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}

.modal-content h2 {
    color: #d4af37;
    margin-bottom: 20px;
}

.modal-content p {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.close {
    color: #e0e0e0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #d4af37;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Enquiry Management Styles */
.status-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.status-tab {
    padding: 10px 20px;
    background: #2d2d2d;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #3d3d3d;
    transition: all 0.3s;
}

.status-tab:hover {
    background: #3d3d3d;
    border-color: #d4af37;
}

.status-tab.active {
    background: #d4af37;
    color: #1a1a1a;
    border-color: #d4af37;
    font-weight: bold;
}

.enquiries-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enquiry-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
}

.enquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3d3d3d;
}

.enquiry-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.enquiry-meta h3 {
    color: #d4af37;
    margin: 0;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.status-new {
    background: #007bff;
    color: white;
}

.status-badge.status-in-progress {
    background: #ffc107;
    color: #1a1a1a;
}

.status-badge.status-resolved {
    background: #28a745;
    color: white;
}

.status-badge.status-closed {
    background: #6c757d;
    color: white;
}

.enquiry-count-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    background: #6c757d;
    color: white;
}

.customer-info-card,
.enquiry-detail-card {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
}

.customer-info-card h2 {
    color: #d4af37;
    margin-bottom: 15px;
}

.customer-info-card p {
    color: #e0e0e0;
    margin: 10px 0;
}

.customer-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.enquiry-detail-card {
    margin-bottom: 20px;
}

.enquiry-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3d3d3d;
}

.enquiry-detail-header h3 {
    color: #d4af37;
    margin: 0;
}

.enquiry-detail-meta {
    margin-bottom: 15px;
}

.enquiry-detail-meta p {
    color: #999;
    margin: 5px 0;
    font-size: 14px;
}

.enquiry-detail-content {
    margin: 15px 0;
}

.enquiry-detail-content p {
    color: #e0e0e0;
}

.enquiry-date {
    text-align: right;
}

.enquiry-date small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.enquiry-details p {
    color: #e0e0e0;
    margin: 10px 0;
}

.enquiry-message {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    line-height: 1.6;
    color: #e0e0e0;
}

.enquiry-action,
.enquiry-notes {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 3px solid #d4af37;
}

.enquiry-notes {
    border-left-color: #6c757d;
}

.enquiry-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #3d3d3d;
    flex-wrap: wrap;
}

.btn-email {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    background: #007bff;
    color: white;
}

.btn-email:hover {
    background: #0056b3;
}

.btn-whatsapp {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.whatsapp-preview {
    margin-top: 20px;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
    background: #1a1a1a;
}

.whatsapp-preview p {
    color: #e0e0e0;
    margin-bottom: 12px;
}

.log-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.log-file-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
}

.log-file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3d3d3d;
}

.log-file-header h3 {
    color: #d4af37;
    margin: 0;
    font-size: 1.1rem;
}

.log-file-details p {
    color: #e0e0e0;
    margin: 8px 0;
    font-size: 14px;
}

.log-file-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #3d3d3d;
    flex-wrap: wrap;
}

.log-file-actions .btn-edit,
.log-file-actions .btn-delete {
    flex: 1;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.enquiry-summary {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #3d3d3d;
}

.enquiry-summary h2 {
    color: #d4af37;
    margin-bottom: 15px;
}

.enquiry-summary p {
    color: #e0e0e0;
    margin: 8px 0;
}

.no-data {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 16px;
}

.email-info {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 3px solid #d4af37;
}

.email-info p {
    color: #e0e0e0;
    margin: 0;
}

/* Status History Timeline */
.status-history-timeline {
    position: relative;
    padding-left: 40px;
}

.status-history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3d3d3d;
}

.history-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.history-badge {
    position: absolute;
    left: -40px;
    width: 30px;
    height: 30px;
    background: #2d2d2d;
    border: 3px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-badge .status-badge {
    font-size: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    padding: 0;
}

.history-content {
    flex: 1;
    background: #2d2d2d;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #d4af37;
}

.history-user {
    color: #999;
    font-size: 14px;
    font-weight: normal;
}

.history-action,
.history-notes {
    margin-top: 10px;
    color: #e0e0e0;
    line-height: 1.6;
}

.history-action strong,
.history-notes strong {
    color: #d4af37;
    display: block;
    margin-bottom: 5px;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Hero Section */
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content-section {
        padding: 50px 0;
    }
    
    .hero-text {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-text h1::after {
        width: 100px;
        bottom: -15px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-top: 2rem;
    }
    
    .hero-text .tagline {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 14px 32px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Page Header */
    .page-header {
        padding: 40px 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Features Grid */
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    /* Services */
    .service-list {
        grid-template-columns: 1fr;
    }
    
    /* Project Filter */
    .project-filter {
        padding: 1.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin: 0 5px;
    }
    
    .project-image {
        height: 200px;
    }
    
    /* Project Detail Images */
    .project-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .image-item img {
        height: 250px;
    }
    
    /* Contact Page */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Settings Container */
    .settings-container {
        padding: 1.5rem;
    }
    
    .login-container {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Admin Cards */
    .admin-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .btn-edit,
    .btn-delete {
        flex: 1;
        text-align: center;
        font-weight: 600;
    }
    
    /* Status Tabs */
    .status-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .status-tab {
        width: 100%;
        text-align: center;
    }
    
    /* Enquiry Cards */
    .enquiry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .enquiry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .enquiry-actions {
        flex-direction: column;
    }
    
    .enquiry-actions .btn-edit,
    .enquiry-actions .btn-delete,
    .enquiry-actions .btn-email,
    .enquiry-actions .btn-whatsapp {
        width: 100%;
        text-align: center;
    }
    
    /* Customer Info */
    .customer-actions {
        flex-direction: column;
    }
    
    .customer-actions .btn-email,
    .customer-actions .btn-whatsapp,
    .customer-actions .cancel-btn {
        width: 100%;
        text-align: center;
    }

    .whatsapp-preview {
        padding: 15px;
        margin-top: 15px;
    }

    .whatsapp-preview .btn-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .processing-output {
        padding: 15px;
        overflow-x: auto;
    }

    .processing-output pre {
        font-size: 12px;
        line-height: 1.4;
    }

    .email-info {
        padding: 12px;
        font-size: 14px;
    }

    .email-info code {
        display: block;
        word-break: break-all;
        margin: 5px 0;
    }
    
    /* Enquiry Detail */
    .enquiry-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20% auto;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        width: 100%;
    }
    
    /* Address Cards */
    .addresses-grid {
        grid-template-columns: 1fr !important;
    }
    
    .address-card {
        margin: 0;
    }
    
    .address-actions {
        flex-direction: column;
    }
    
    .address-actions .view-btn,
    .address-actions .delete-btn {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    /* Project Meta */
    .project-meta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    /* Upload Section */
    .upload-section {
        padding: 1.5rem;
    }
    
    /* Info Boxes */
    .info-box {
        padding: 1.2rem;
    }
    
    /* View/Delete Buttons */
    .view-btn,
    .delete-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    /* Back Button */
    .back-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-weight: 600;
        font-size: 14px;
    }
    
    /* Status History Timeline */
    .status-history-timeline {
        padding-left: 25px;
    }
    
    .history-badge {
        left: -25px;
        width: 20px;
        height: 20px;
    }
    
    /* Email Sent Card */
    .email-sent-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Insights & Reviews Mobile */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .insight-card {
        margin: 0;
    }
    
    .insight-image {
        height: 200px;
    }
    
    .insight-content {
        padding: 1.5rem;
    }
    
    .insight-content h2 {
        font-size: 1.3rem;
    }
    
    .insight-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .client-avatar,
    .client-avatar-placeholder {
        width: 50px;
        height: 50px;
    }
    
    /* Admin Insights/Reviews Cards */
    .insight-admin-card,
    .review-admin-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .insight-admin-actions,
    .review-admin-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .insight-admin-actions .btn-edit,
    .insight-admin-actions .btn-delete,
    .review-admin-actions .btn-edit,
    .review-admin-actions .btn-delete {
        flex: 1;
        text-align: center;
    }
}

/* Insights & Reviews Pages Styles */

/* Insights Section */
.insights-section {
    background: white;
    padding: 60px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.insight-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.insight-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.insight-card:hover .insight-image img {
    transform: scale(1.1);
}

.insight-content {
    padding: 2rem;
}

.insight-category {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.insight-content h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.insight-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.insight-meta i {
    color: #d4af37;
    margin-right: 5px;
}

.insight-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #b8941f;
}

.read-more-btn i {
    margin-left: 5px;
}

.no-insights {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding: 3rem;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.review-card.featured {
    border: 2px solid #d4af37;
    background: linear-gradient(135deg, #faf8f3 0%, #f8f9fa 100%);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d4af37;
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
}

.client-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #d4af37;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.client-info h3 {
    color: #1a1a1a;
    margin: 0;
    font-size: 1.2rem;
}

.client-position {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating i {
    color: #ddd;
    font-size: 1.1rem;
}

.review-rating i.filled {
    color: #ffc107;
}

.review-text {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-type-tag {
    background: #e0e0e0;
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.no-reviews {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding: 3rem;
}

/* Admin Insights Management */
.insights-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-admin-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #d4af37;
}

.insight-admin-header h3 {
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.insight-admin-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.9rem;
}

.category-badge {
    background: #e0e0e0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.published-badge {
    background: #28a745;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.draft-badge {
    background: #6c757d;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.insight-admin-actions {
    display: flex;
    gap: 10px;
}

/* Admin Reviews Management */
.reviews-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-admin-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #d4af37;
}

.review-admin-header h3 {
    color: #1a1a1a;
    margin: 0 0 0.3rem 0;
}

.company-name {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.review-admin-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
}

.rating-display i {
    color: #ddd;
}

.rating-display i.filled {
    color: #ffc107;
}

.review-preview {
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.review-admin-actions {
    display: flex;
    gap: 10px;
}


/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Email Sent Card Styles */
.email-sent-card {
    background: #1f2d1f;
    border-left: 4px solid #4caf50;
    padding: 20px;
    border-radius: 4px;
}

.email-sent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

.email-sent-header h3 {
    margin: 0;
    color: #4caf50;
    font-size: 1.2rem;
}

.sent-badge {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: bold;
}

.email-subject {
    background: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #f5f5f5;
    font-weight: 500;
}


/* Upload Project Page Enhanced Styles */
.hero-small {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-small p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.upload-section {
    padding: 60px 0;
    background: #f4f4f4;
}

.upload-section .container {
    max-width: 800px;
}

.upload-section .admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.upload-section .admin-card h2 {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    padding: 25px 30px;
    margin: 0;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-section .admin-card h2 i {
    font-size: 1.4rem;
}

.upload-form {
    padding: 35px 30px;
    max-width: 100%;
}

.upload-form .form-group {
    margin-bottom: 25px;
}

.upload-form .form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-form .form-group label i {
    color: #d4af37;
}

.upload-form input[type="text"],
.upload-form textarea,
.upload-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-form input[type="text"]:focus,
.upload-form textarea:focus,
.upload-form select:focus {
    outline: none;
    border-color: #d4af37;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.upload-form textarea {
    min-height: 120px;
    resize: vertical;
}

.upload-form select {
    cursor: pointer;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.upload-form input[type="file"] {
    padding: 12px;
    border: 2px dashed #d4af37;
    border-radius: 8px;
    background: #fffef8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-form input[type="file"]:hover {
    border-color: #f4d03f;
    background: #fffcf0;
}

.upload-form small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.88rem;
    line-height: 1.4;
}

.upload-form small i {
    color: #d4af37;
    margin-right: 4px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.form-actions .submit-btn {
    flex: 1;
    padding: 16px 35px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
}

.form-actions .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.form-actions .submit-btn:active {
    transform: translateY(0);
}

.form-actions .cancel-btn {
    padding: 16px 30px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-actions .cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.upload-section .message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.upload-section .message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.upload-section .message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Mobile Responsive for Upload Page */
@media screen and (max-width: 768px) {
    .hero-small {
        padding: 40px 20px;
    }
    
    .hero-small h1 {
        font-size: 1.8rem;
    }
    
    .hero-small p {
        font-size: 1rem;
    }
    
    .upload-section {
        padding: 40px 0;
    }
    
    .upload-section .admin-card h2 {
        padding: 20px;
        font-size: 1.3rem;
    }
    
    .upload-form {
        padding: 25px 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .submit-btn,
    .form-actions .cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Current Images Grid for Edit Project */
.current-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.current-images-grid .image-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9f9;
}

.current-images-grid .image-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.current-images-grid .image-item label {
    font-size: 0.9rem;
    color: #dc3545;
    cursor: pointer;
}

.current-images-grid .image-item input[type="checkbox"] {
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    .current-images-grid {
        grid-template-columns: 1fr;
    }
    
    /* Project filters mobile */
    .filter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
        min-width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
}

/* Admin Project Buttons in Cards */
.admin-project-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.admin-project-buttons .view-btn {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: 0;
}

.admin-project-buttons .edit-btn,
.admin-project-buttons .delete-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media screen and (max-width: 768px) {
    .admin-project-buttons {
        flex-direction: column;
    }
    
    .admin-project-buttons .edit-btn,
    .admin-project-buttons .delete-btn {
        flex: 1 1 100%;
    }
    
    /* Log viewer mobile responsive */
    .log-files-grid {
        grid-template-columns: 1fr;
    }
    
    .log-file-card {
        margin-bottom: 15px;
    }
    
    .log-file-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .log-file-actions {
        flex-direction: column;
    }
    
    .log-file-actions .btn-edit,
    .log-file-actions .btn-delete {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .log-viewer {
        font-size: 11px;
        padding: 15px;
        max-height: 500px;
    }
    
    .log-line {
        word-break: break-word;
        padding: 6px 4px;
    }
}
/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-text p {
    color: #ccc;
    font-size: 1.1rem;
}

.newsletter-form {
    flex: 1;
}

.form-group-inline {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group-inline input[type="text"],
.form-group-inline input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #444;
    background: #2d2d2d;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group-inline input:focus {
    outline: none;
    border-color: #d4af37;
    background: #1a1a1a;
}

.subscribe-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.subscribe-button:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.subscribe-button i {
    margin-right: 8px;
}

.newsletter-privacy {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 40px 20px;
        margin: 30px 0;
        border-radius: 0;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        max-width: 100%;
    }
    
    .newsletter-text {
        width: 100%;
    }
    
    .newsletter-text h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .newsletter-text p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0;
        color: #ddd;
    }
    
    .newsletter-form {
        width: 100%;
        padding: 0;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .form-group-inline input[type="text"],
    .form-group-inline input[type="email"] {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 12px;
        box-sizing: border-box;
        border: 2px solid #555;
    }
    
    .form-group-inline input::placeholder {
        font-size: 0.95rem;
    }
    
    .subscribe-button {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 12px;
        margin-top: 5px;
    }
    
    .newsletter-privacy {
        font-size: 0.875rem;
        padding: 0;
        margin-top: 15px;
        line-height: 1.5;
        color: #999;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 35px 15px;
        margin: 20px 0;
    }
    
    .newsletter-text h2 {
        font-size: 1.4rem;
    }
    
    .newsletter-text p {
        font-size: 0.95rem;
    }
    
    .form-group-inline input[type="text"],
    .form-group-inline input[type="email"] {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .subscribe-button {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .newsletter-privacy {
        font-size: 0.8rem;
    }
}
/* Unsubscribe Page */
.unsubscribe-section {
    padding: 80px 0;
    background: #f9f9f9;
    min-height: 60vh;
}

.unsubscribe-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.unsubscribe-success i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.unsubscribe-error i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.unsubscribe-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.unsubscribe-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.unsubscribe-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .unsubscribe-content {
        padding: 30px 20px;
    }
    
    .unsubscribe-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Newsletter Alerts */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInDown 0.3s ease-out;
}

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

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

@media (max-width: 768px) {
    .alert {
        font-size: 0.85rem;
        padding: 12px 15px;
    }
    
    .alert i {
        font-size: 1rem;
    }
}
