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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

header {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header .logo i {
    font-size: 2rem;
}

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

nav ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero section */
.hero {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    flex: 1 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #2c3e50;
}

.btn:hover {
    background: #ff9a9e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Content sections */
.section {
    padding: 4rem 0;
    flex: 1 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    background: rgba(255,255,255,0.9);
    padding: 0.8rem;
    text-align: center;
    margin: 0;
    font-size: 1.1rem;
    border-top: 1px solid #eee;
}

/* Info boxes */
.info-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 4px solid #ff9a9e;
}

.info-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    color: #555;
    line-height: 1.7;
}

/* Contact section */
.contact {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    flex: 1 0 auto;
}

.contact h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.contact p {
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.contact-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: #2c3e50;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    flex-shrink: 0;
}

footer p {
    margin-bottom: 0.5rem;
}

footer .social-links {
    margin-top: 1rem;
}

footer .social-links a {
    color: white;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s;
    display: inline-block;
}

footer .social-links a:hover {
    color: #ff9a9e;
}

/* Sitemap Cards */
.sitemap-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-icon {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.card-icon i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.card-content {
    flex: 1;
    padding: 1.5rem;
}

.card-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.card-footer .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .sitemap-cards {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .card-icon {
        padding: 1.2rem;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .card-content {
        padding: 1.2rem;
    }
    
    .card-footer {
        padding: 1rem 1.2rem;
    }
}

/* Domain cards grid */
.domain-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.domain-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.domain-card-icon {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    padding: 1.5rem;
    text-align: center;
}
.domain-card-icon i {
    font-size: 2rem;
    color: white;
}
.domain-card-content {
    flex: 1;
    padding: 1.2rem;
}
.domain-card-content h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    color: #2c3e50;
}
.domain-card-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Button group */
.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.button-group .btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
}
@media (max-width: 500px) {
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    .button-group .btn {
        min-width: auto;
    }
}