:root {
    --primary-color: #1c1e1f;
    --secondary-color: #c5a059;
    --bg-color: #0d0e0f;
    --text-color: #f5f5f7;
    --card-bg: rgba(28, 30, 31, 0.7);
    --border-color: rgba(197, 160, 89, 0.2);
    --font-family: 'Prompt', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.nav-links li a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--secondary-color);
    color: #000;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    background: #deb565;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: #000;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 10% 80px;
    background: linear-gradient(rgba(13, 14, 15, 0.7), rgba(13, 14, 15, 0.9)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Common */
.section {
    padding: 100px 10%;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    display: block;
}

/* Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 20px rgba(197, 160, 89, 0.1);
}

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

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

.card-content {
    padding: 30px;
}

.card-icon {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-desc {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 25px;
}

/* Portfolio Gallery */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--secondary-color);
    color: #000;
    border-color: var(--secondary-color);
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(13, 14, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

select.form-control {
    background-color: #1a1c1d;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 5%;
    right: 5%;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(28, 30, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 14px;
    color: #ccc;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 80px 10% 40px;
}

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

.footer-col h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.footer-col p {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #777;
    font-size: 14px;
}

/* Page Header */
.page-header {
    padding: 160px 10% 80px;
    background: linear-gradient(rgba(13, 14, 15, 0.8), rgba(13, 14, 15, 0.95)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Blog Details */
.blog-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.blog-detail-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.blog-detail-content {
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
}

.blog-detail-content p {
    margin-bottom: 25px;
}

/* Alert Boxes */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 500;
}
.alert-success {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid #2ed573;
    color: #2ed573;
}
.alert-error {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid #ff4757;
    color: #ff4757;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    .hero h1 { font-size: 42px; }
    .page-header h1 { font-size: 36px; }
    .section { padding: 80px 5%; }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }
    
    .nav-links.active { left: 0; }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .hero h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .form-container { padding: 30px 20px; }
}
