/* The Pirate Bay Yacht Club - Elite Minimalist Styling */
:root {
  --primary-color: #0a0a0a;
  --secondary-color: #d4af37;
  --text-light: #ffffff;
  --text-dark: #121212;
  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-light);
  background-color: var(--primary-color);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
}

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

/* Background */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../back.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  opacity: 0.7;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Header */
header {
  padding: 40px 0;
  position: relative;
}

/* Navigation */
.main-nav {
  text-align: center;
  margin-top: 20px;
}

.main-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 30px;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.main-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary-color);
}

.main-nav a:hover:after,
.main-nav a.active:after {
  width: 100%;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo h1 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--secondary-color);
  letter-spacing: 3px;
  font-weight: 400;
  text-transform: uppercase;
}

.logo span {
  color: var(--text-light);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 8px;
  display: block;
  margin-top: 5px;
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 700px;
}

.hero h2 {
  font-family: var(--font-primary);
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary-color);
  padding: 12px 30px;
  border: 1px solid var(--secondary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  font-weight: 400;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--secondary-color);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--secondary-color);
  z-index: -1;
}

/* Membership Section */
.membership {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.membership-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.membership-content p {
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Contact Form */
.contact {
  padding: 100px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 50px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  padding: 50px 0 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.footer-content {
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 25px;
  text-align: center;
}

.trademark-image {
  max-width: 120px;
  height: auto;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 10px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.contact-footer {
  margin-top: 10px;
  font-size: 0.75rem;
}

.copyright a,
.text-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.copyright a:hover,
.text-link:hover {
  opacity: 0.8;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--primary-color);
  max-width: 500px;
  padding: 50px;
  position: relative;
  border: 1px solid var(--secondary-color);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--secondary-color);
}

.modal-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 400;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    margin-top: 40px;
  }
  
  .contact-form {
    padding: 30px;
  }
}

/* Legal Section Styles */
.legal-section,
.contact-info-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.legal-content,
.contact-info-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-document {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.legal-document h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 400;
  text-align: center;
}

.document-subtitle {
  text-align: center;
  font-style: italic;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.document-section {
  margin-bottom: 30px;
}

.document-section h4 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 400;
}

.document-section p,
.document-section ul {
  margin-bottom: 15px;
  line-height: 1.7;
}

.document-section ul {
  padding-left: 20px;
}

.document-section ul li {
  margin-bottom: 8px;
}

.signature {
  font-family: var(--font-primary);
  font-style: italic;
  margin-top: 20px;
  color: var(--secondary-color);
}

.document-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Information Styles */
.contact-card {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
}

.contact-card h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 400;
}

.contact-card > p {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.contact-item {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.contact-item p {
  line-height: 1.6;
}

.trademark-notice {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}
