/* CSS Custom Properties for Colors */
:root {
    --primary-gold: #FFD700;
    --primary-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #404040;
    --white: #ffffff;
    --text-light: #cccccc;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-gold);
    background-color: var(--primary-black);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    animation: slideDown 0.8s ease-out;
    border-bottom: 2px solid var(--primary-gold);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.logo img {
    height: 80px;
    width: auto;
    filter: brightness(1.1) contrast(1.05);
}

.logo .company-name {
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(90deg, #EDDD53 0%, #D3AF37 38%, #8F6D00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

@media (max-width: 768px) {
    .logo .company-name {
        font-size: 1rem;
    }
}

@keyframes hammerSwing {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.tagline {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-top: 2px;
    opacity: 0.8;
}

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

.nav a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 50%, var(--medium-gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-gold);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

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

.highlight {
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-text {
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.stat-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.floating-card {
    background: rgba(211, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: var(--primary-gold);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Materials Section */
.materials {
    padding: 6rem 0 5rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.section-subtitle {
    text-align: center;
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.8;
}

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

.material-card {
    background: var(--medium-gray);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    cursor: pointer;
}

.material-card::after {
    content: '🛒 Click to add to quote';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.material-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.material-card:active {
    transform: translateY(-5px) scale(0.98);
    transition: all 0.1s ease;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold));
}

/* Pulse animation for material cards */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
    }
    100% {
        box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    }
}

.material-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    animation: pulse-glow 2s ease-in-out infinite;
}

.material-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.material-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.material-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.price-info {
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: block;
}

.unit {
    color: var(--primary-gold);
    font-size: 0.9rem;
    opacity: 0.8;
}



.material-details p {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.click-hint {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.material-card:hover .click-hint {
    opacity: 1;
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-gold);
}

.click-hint i {
    font-size: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--primary-gold);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.service-card {
    background: var(--medium-gray);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--primary-gold);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features .feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.service-features .feature i {
    color: #28a745;
    font-size: 0.9rem;
}

.service-details {
    background: var(--dark-gray);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    min-height: 44px;
}

.service-details .detail-item {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.service-details .detail-item:last-child {
    margin-bottom: 0;
}

.service-details strong {
    color: var(--primary-gold);
}

.service-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--primary-gold);
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-footer .service-details {
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gray);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    margin-bottom: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
    height: 100%;
    flex: 1;
}

.service-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold) 100%);
    color: var(--dark-gray);
    font-weight: 700;
}

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

/* About Section */
.about {
    padding: 6rem 0 5rem 0;
    background: var(--primary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.about-text p {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.8;
}

.features {
    display: grid;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.feature i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.image-card {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold));
    color: var(--primary-black);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(211, 175, 55, 0.3);
}

.image-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.image-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--primary-gold);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(1.1) contrast(1.05);
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-gold);
    margin-top: 0.2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}



.footer-bottom {
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
    text-align: left;
    color: var(--primary-gold);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: var(--primary-gold);
        transition: all 0.3s ease;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 80px;
        width: auto;
    }
    

    
    .hero {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        flex-direction: row;
    }
    
    .stat-item {
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .floating-card {
        padding: 1.2rem;
        margin-top: 1rem;
    }
    
    .floating-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .materials {
        padding: 2.5rem 0;
    }
    
    .services-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-features .feature {
        font-size: 0.85rem;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .service-details {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .service-details .detail-item {
        font-size: 0.8rem;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 10px;
    }
    
    .material-card {
        padding: 1.3rem;
        margin: 0;
    }
    
    .material-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.8rem;
    }
    
    .material-icon i {
        font-size: 1.1rem;
    }
    
    .material-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .unit {
        font-size: 0.85rem;
    }
    
    .material-details p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .about {
        padding: 2.5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .features {
        gap: 0.8rem;
    }
    
    .feature {
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    .image-card {
        padding: 1.8rem;
    }
    
    .image-card i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .image-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
        gap: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
    }
    
    .stat-item {
        font-size: 0.8rem;
        text-align: center;
        margin: 0;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .floating-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .material-card {
        padding: 1.2rem;
        margin: 0 10px;
    }
    
    .material-card h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .unit {
        font-size: 0.8rem;
    }
    

    
    .material-details p {
        font-size: 0.8rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .feature {
        font-size: 0.9rem;
    }
    
    .image-card {
        padding: 1.5rem;
    }
    
    .image-card i {
        font-size: 2rem;
    }
    
    .image-card h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .material-card {
        padding: 1rem;
        margin: 0 5px;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
    }
    
    .image-card {
        padding: 1.2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .material-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .material-card:active {
        transform: scale(0.98);
    }
    
    .nav a {
        -webkit-tap-highlight-color: transparent;
    }
    
    .social-link {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improve touch targets */
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-btn span {
        min-width: 25px;
        min-height: 3px;
    }
    
    /* Ensure proper text wrapping */
    .hero-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .material-card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Better spacing for mobile */
    .materials-grid {
        margin: 0 -10px;
    }
    
    .material-card {
        margin: 0 10px 1rem 10px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .logo img {
        height: 60px;
        width: auto;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .material-card {
        padding: 0.8rem;
        margin: 0 5px 0.8rem 5px;
    }
    
    .material-card h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .about-text h2 {
        font-size: 1.4rem;
    }
    
    .image-card {
        padding: 1rem;
    }
    
    .image-card i {
        font-size: 1.6rem;
    }
    
    .image-card h3 {
        font-size: 1rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for important elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.material-card:hover .material-icon {
    animation: pulse 0.6s ease;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.highlight {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Quote Modal Styles */
.quote-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.quote-modal-content {
    background-color: var(--primary-black);
    margin: 5% auto;
    padding: 0;
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

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

.quote-modal-header {
    background: linear-gradient(135deg, var(--primary-gold), #D3AF37);
    color: var(--primary-black);
    padding: 1.5rem;
    border-radius: 13px 13px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-quote-modal {
    color: var(--primary-black);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-quote-modal:hover {
    transform: scale(1.2);
}

.quote-modal-body {
    padding: 2rem;
    color: var(--primary-gold);
}

.material-details h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.material-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.material-info {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--primary-gold);
}

.quantity-section {
    margin-bottom: 2rem;
}

.quantity-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.quantity-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    background-color: var(--primary-black);
    color: var(--primary-gold);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #D3AF37;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.price-calculation {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.price-row:last-child {
    margin-bottom: 0;
}

.total-row {
    border-top: 2px solid var(--primary-gold);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.quote-modal-footer {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

/* Button styles for modals */
.btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #D3AF37);
    color: var(--primary-black);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Quote List Modal Styles */
.quote-list-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.quote-list-modal-content {
    background-color: var(--primary-black);
    margin: 3% auto;
    padding: 0;
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    width: 95%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.quote-list-modal-header {
    background: linear-gradient(135deg, var(--primary-gold), #D3AF37);
    color: var(--primary-black);
    padding: 1.5rem;
    border-radius: 13px 13px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-list-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-quote-list-modal {
    color: var(--primary-black);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-quote-list-modal:hover {
    transform: scale(1.2);
}

.quote-list-modal-body {
    padding: 2rem;
    color: var(--primary-gold);
}

.quote-item {
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quote-item-details {
    flex: 1;
    min-width: 200px;
}

.quote-item-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quote-item-quantity {
    color: rgba(255, 215, 0, 0.8);
    font-size: 0.9rem;
}

.quote-item-price {
    text-align: right;
    font-weight: 600;
    font-size: 1.1rem;
}

.remove-quote-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.remove-quote-item:hover {
    background-color: rgba(255, 68, 68, 0.2);
}

.quote-summary {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.total-summary {
    border-top: 2px solid var(--primary-gold);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.quote-list-modal-footer {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

/* Floating Quote Button */
.floating-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-gold), #D3AF37);
    color: var(--primary-black);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.floating-quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.floating-quote-btn i {
    font-size: 1.2rem;
}

.quote-count {
    background-color: var(--primary-black);
    color: var(--primary-gold);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Mobile responsive styles for modals */
@media (max-width: 768px) {
    .quote-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .quote-list-modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .floating-quote-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .floating-quote-btn span {
        display: none;
    }
    
    .quote-count {
        margin-left: 0;
    }
    
    .quote-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .quote-item-price {
        text-align: left;
        width: 100%;
    }
    
    /* Mobile styles for service footer */
    .service-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .service-footer .service-details {
        min-height: 44px;
        padding: 0.8rem;
        width: 100%;
    }
    
    .service-card .btn {
        min-height: 44px;
        width: 100%;
    }
}

/* Favicon styling with circular gold background */
link[rel="icon"] {
    background: #d3af37;
    border-radius: 50%;
    padding: 2px;
}

/* Alternative approach - create a favicon wrapper */
.favicon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    background: #d3af37;
    border-radius: 50%;
    display: inline-block;
    overflow: hidden;
}

.favicon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
