:root {
    --gold: #d4af37;
    --ivory: #f8f5e1;
    --dark-gold: #b8942d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Navigation */
.navbar {
    background-color: #000000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
    font-weight: 500;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.navbar-brand-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-link {
    color: white !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--ivory) !important;
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(184, 148, 45, 0.9) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Sections */
section {
    padding: 60px 0;
}

.bg-ivory {
    background-color: var(--ivory);
}

.section-title {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: white;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.product-card:active {
    transform: translateY(-8px);
}

.product-card-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.product-card-header i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.product-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.product-card-body {
    padding: 30px;
}

.product-card-body ul {
    list-style: none;
    padding-left: 0;
}

.product-card-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--ivory);
}

.product-card-body ul li:last-child {
    border-bottom: none;
}

/* Personalization Photo Grid */
.personalization-photos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    align-items: center;
}

.personalization-photos img {
    width: 80%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.personalization-photos img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.product-card-body ul li i {
    color: var(--gold);
    margin-right: 10px;
}

/* Form Styling */
.personalization-form {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.personalization-form h4 {
    color: var(--dark-gold);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-label {
    color: var(--dark-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control, .form-select {
    border: 2px solid var(--ivory);
    border-radius: 8px;
    padding: 12px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.btn-gold {
    background-color: var(--gold);
    border: none;
    color: white;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--dark-gold);
    color: white;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h5 {
    color: var(--dark-gold);
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--gold);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .personalization-form, .contact-info {
        padding: 25px;
    }
    
    .personalization-photos {
        grid-template-rows: repeat(3, 180px);
        gap: 10px;
        margin-bottom: 30px;
    }
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-box {
    text-align: center;
    padding: 20px;
}

.feature-box h4 {
    color: var(--dark-gold);
    margin-bottom: 15px;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: white;
    border: none;
    padding: 25px 30px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
}

.info-placeholder {
    background: var(--ivory);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    margin: 15px 0;
}

.info-placeholder h5 {
    color: var(--dark-gold);
    margin-bottom: 10px;
}

/* Image Slider in Modal */
.product-carousel {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-carousel .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #f8f9fa;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-carousel .carousel-item img:hover {
    transform: scale(1.02);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    background: rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(212, 175, 55, 0.8);
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    background-color: var(--gold);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Carousel caption styling */
.carousel-caption {
    position: absolute;
    bottom: 10px;
    /*left: 50%;
    transform: translateX(-50%);*/
    background:  rgba(92, 99, 106, 0.75);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 85%;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

/* Lightbox for zoomed images */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    background: rgba(212, 175, 55, 0.5);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 175, 55, 0.8);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Modal Navigation */
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-modal-nav {
    background-color: var(--gold);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-modal-nav:hover {
    background-color: var(--dark-gold);
    color: white;
}

.btn-modal-nav:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}
