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

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background-color: #080806 !important; /* Dark color to match LGD logo */
    background: #080806 !important;
    background-image: none !important;
    background-attachment: initial !important;
    background-origin: initial !important;
    background-clip: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    background-position: initial !important;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
    margin: 0;
    border: 0;
}

/* Force all header child elements to have transparent backgrounds */
header * {
    background: transparent !important;
}

/* Ensure nav also has matching background */
header nav {
    background-color: #080806 !important;
    background: #080806 !important;
}

header.hidden {
    transform: translateY(-100%);
}

header.visible {
    transform: translateY(0);
}

main {
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: #B8860B;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #B8860B;
    color: #000000;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    min-height: 500px;
}

.hero-content {
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #B8860B 0%, #b8941f 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background: white;
}

.main-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
}

.main-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #B8860B;
    margin: 1rem auto;
}

.diamond-showcase {
    text-align: center;
    margin: 3rem 0;
}

.diamond-showcase img,
.featured-sizes img,
.diamond-variety img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-text h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 2.5rem 0 1.5rem 0;
    text-align: center;
}

.content-text strong {
    color: #B8860B;
    font-weight: 600;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h4 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: #B8860B;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        background-color: #080806 !important;
        background: #080806 !important;
        background-image: none !important;
    }
    
    header nav {
        flex-direction: column;
        align-items: flex-start;
        background-color: #080806 !important;
        background: #080806 !important;
    }
    .logo h1 {
        font-size: 1.2rem;
        padding-bottom: 0.5rem;
    }
    .nav-links {
        flex-direction: row !important;
        width: 100%;
        gap: 0.3rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-links li {
        width: auto;
        flex: 1;
        min-width: 60px;
    }
    .nav-links a {
        display: block;
        text-align: center;
        padding: 0.4rem 0.3rem;
        font-size: 0.8rem;
        border-radius: 4px;
    }
    .hero-content h1 {
        font-size: 1.5rem;
        word-break: break-word;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-button {
        width: 100%;
        font-size: 1rem;
        padding: 1rem 0;
    }
    .hero {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 0.5rem 0 !important;
        min-height: 150px !important;
    }
    
    .hero-content {
        padding: 0 0.5rem !important;
    }
    
    .hero-content h1 {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-content p {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-image img {
        height: 120px !important;
        margin-top: 0.3rem !important;
    }
    
    .cta-button {
        padding: 0.6rem 0 !important;
        font-size: 0.85rem !important;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.1rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-content p {
        font-size: 0.75rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .hero {
        padding: 0.3rem 0 !important;
        min-height: 120px !important;
    }
    
    .hero-image img {
        height: 100px !important;
        margin-top: 0.2rem !important;
    }
    
    .cta-button {
        padding: 0.5rem 0 !important;
        font-size: 0.8rem !important;
    }
    
    .nav-links a {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.2rem !important;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
    
    .content-text {
        font-size: 1rem;
    }
}

/* About Page Specific Styles */
.comparison-section {
    background: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.comparison-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tester-section {
    text-align: center;
    margin: 3rem 0;
}

.tester-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Contact Form Styles */
.contact-section {
    background: white;
    padding: 3rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.contact-info h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-info a {
    color: #B8860B;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

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

.form-container iframe {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Video Showcase Styles */
.video-showcase {
    margin: 4rem 0;
    text-align: center;
}

.video-showcase h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.video-showcase > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.jewellery-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 1.5rem;
}

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

.video-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* External Video Section */
.external-video-section {
    margin-top: 4rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 12px;
}

.external-video-section h4 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.external-video-container {
    position: relative;
    width: 100%;
    max-width: 300px; /* Better width for vertical video */
    height: 500px; /* Fixed height for better control */
    margin: 0 auto 1rem auto; /* Center the container */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Video Controls Enhancement */
.jewellery-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.jewellery-video::-webkit-media-controls-play-button,
.jewellery-video::-webkit-media-controls-pause-button {
    background-color: #B8860B;
    border-radius: 50%;
}

/* iOS Video Inline Playback Fix */
video {
    -webkit-playsinline: 1;
    playsinline: 1;
}

/* Prevent iOS video fullscreen */
video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Loading and Error States */
.video-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #f0f0f0;
    color: #666;
    font-style: italic;
}

.video-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #f8d7da;
    color: #721c24;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
}

/* Additional Contact Page Styles */
.additional-info {
    margin-top: 4rem;
    padding: 3rem 0;
    background: #f9f9f9;
    border-radius: 10px;
}

.additional-info h3 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-item h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.showcase-image {
    margin: 2rem 0;
    text-align: center;
}

.showcase-image img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.contact-info li {
    margin-bottom: 0.5rem;
    color: #666;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .comparison-images {
        grid-template-columns: 1fr;
    }
    
    .form-container iframe {
        width: 100%;
        height: 600px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Video responsive styles */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .jewellery-video {
        height: 250px;
    }
    
    .external-video-section {
        padding: 1rem;
    }
    
    .external-video-container {
        max-width: 250px; /* Smaller on mobile */
        height: 400px; /* Fixed height for mobile */
    }
    
    .video-showcase h3 {
        font-size: 1.5rem;
    }
}

/* Product Video Styles */
.product-video-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-video-section h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-video {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.video-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #e9ecef;
    color: #6c757d;
    text-align: center;
    border-radius: 8px;
    font-style: italic;
}

/* Video placeholder styles */
.video-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .product-video {
        height: 150px;
    }
    
    .video-fallback {
        height: 150px;
        font-size: 0.9rem;
    }
}

/* MOBILE FORCE OVERRIDE - Must be at bottom to override all other rules */
@media screen and (max-width: 768px) {
    header {
        background-color: #080806 !important;
        background: #080806 !important;
    }
    
    header nav {
        flex-direction: column !important;
        background-color: #080806 !important;
        background: #080806 !important;
    }
    
    .nav-links {
        flex-direction: row !important;
        width: 100% !important;
        gap: 0.2rem !important;
        justify-content: space-around !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-links li {
        flex: 1 !important;
        width: auto !important;
    }
    
    .nav-links a {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.1rem !important;
        text-align: center !important;
        display: block !important;
    }
    
    .hero {
        padding: 0.5rem 0 !important;
        min-height: 140px !important;
    }
    
    .hero-content h1 {
        font-size: 1.1rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .hero-content p {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-image img {
        height: 110px !important;
    }
    
    .cta-button {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width: 480px) {
    header {
        background-color: #080806 !important;
        background: #080806 !important;
    }
    
    header nav {
        background-color: #080806 !important;
        background: #080806 !important;
    }
    
    .hero {
        padding: 0.3rem 0 !important;
        min-height: 100px !important;
    }
    
    .hero-content h1 {
        font-size: 1rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-content p {
        font-size: 0.7rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .hero-image img {
        height: 80px !important;
    }
    
    .cta-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .nav-links a {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.05rem !important;
    }
} 