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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #d98b0d;
    background-color: #f9f7f2;
    background-image: url(foto\ gold\ market.jpg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


.logo{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    
}


logo img{
    max-width: 80px;
    height: auto;
    border-radius: 50px;
}



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

a:hover {
    color: #b8860b;
}

    nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav li {
    display: inline;
}


img {
    max-width: 10%;
    height: auto;
    border-radius: 50px;
}

 img foto per gold market {
     width: 90%; 
    height: auto; 
    display: block; 
    margin: 0 auto;
    }


.btn {
    display: inline-block;
    background-color: #d4af37;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #b8860b;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #d4af37, #ffd700, #d4af37);
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}


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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    width: 200px;
    height: 100px;
    margin-right: 10px;
    transition: transform 0.3s ease;
    border-radius: 30px;
}

.logo-image:hover {
    transform: rotate(20deg);
}

.logo h1 {
    color: #d4af37;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}
ul{
        padding: 20px;
    margin: 20px;
    font-size: 20px;
}
nav ul {
    display: flex;
    list-style: none;
  
}

nav ul li {
    margin-left: 20px;
    font-size: 20px;
}

nav ul li a {
    color: #c3630e;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    text-align: left;
    font-size: 20px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #d4af37;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080?text=Gold+Market+Hero') no-repeat center center/cover;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Products Section */
#products {
    padding: 80px 0;
    background-color: #fff;
}

.product-categories {
    margin-top: 40px;
}

.category {
    margin-bottom: 60px;
}

.category h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
}


.product-image img {
    max-width: 200px;
    height: 300px;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
    margin: 0 auto;
}

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

.product-info {
    padding: 20px;
    background-color: #fff;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
}

.description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* About Section */
#about {
    padding: 10px;
    background-color: #f9f7f2;
   
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: left;
     background-image: url(foto\ per\ gold\ market.jpg);
    background-size: 500px;
    background-repeat: no-repeat;
    height: 240px;
}
.about-image .klasa1 img{
    height: 400px;
    width: 400px;
}
.about-image{
    width: 100%; 
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block; 
    
}

.about-text p {
    margin-bottom: 15px;
    color: #5c5a5a;
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form, .contact-info {
    background-color: #f9f7f2;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #d4af37;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 10px;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links h4, .footer-social h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #d4af37;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #d4af37;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 4980px) {
    .about-image {
        width: 200%;
        max-width: none;
        border-radius: 16px;
    }
}

@media (max-width: 498px) {
    .about-text {
max-width: 720px;   
  margin: 0 auto;
  padding: 16px;      

    }
}
