/* Variables & Theme Setup */
:root {
    --primary-color: #d4af37; /* Rich Gold */
    --primary-dark: #b5952f;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --text-light: #f5f5f5;
    --text-gray: #a0a0a0;
    --whatsapp-color: #25D366;
    --phone-color: #007bff;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

.section-padding {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

.gold-text {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-darker);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: var(--bg-darker);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 10;
    text-align: center; /* Center the logo */
}

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

.logo-img {
    height: 220px; /* Significantly increased height for prominence */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.8)); /* Stronger shadow for better visibility */
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('optimized/Jam-01654.jpg'); /* Optimized background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.7), rgba(10,10,10,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--primary-color); /* Updated main text to gold */
    font-weight: 500;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title .line {
    height: 3px;
    width: 80px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(212,175,55,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--primary-color);
    opacity: 0.9;
}

/* Portfolio */
.bg-darker {
    background-color: var(--bg-darker);
}

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

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--primary-color);
    font-family: 'Alexandria', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.package-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.package-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transform: translateY(-5px);
}

.package-card.golden {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-darker);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.package-header {
    text-align: center;
    margin-bottom: 30px;
}

.package-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.package-icon {
    font-size: 2.5rem;
    color: var(--text-light);
    opacity: 0.8;
}

.package-card.golden .package-icon {
    color: var(--primary-color);
    opacity: 1;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 0.9rem;
}

.package-features li.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition-fast);
}

.whatsapp-btn {
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    animation: pulse-whatsapp 2s infinite;
}

.call-btn {
    bottom: 110px;
    right: 30px;
    background-color: var(--phone-color);
    animation: pulse-call 2s infinite 1s;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-call {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--primary-color);
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}

.hidden {
    display: none !important;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .logo-img { height: 160px; } /* Adjusted logo size for mobile */
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }
    .package-card.golden { transform: scale(1); }
    .call-btn { bottom: 100px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
    .whatsapp-btn { bottom: 40px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
    .section-padding { padding: 50px 0; }
}
